返回值 2
public static int getNum(){
try{
return 1;
}catch(Exception e){
e.printStackTrace();
}finally{
return 2;
}
}
返回值 2
public static int getNum(){
try{
return 1;
}catch(Exception e){
e.printStackTrace();
}finally{
return 2;
}
}
转载于:https://www.cnblogs.com/shenjun/archive/2013/05/04/3059734.html