Java异常捕获之try-catch-finally-return的执行顺序
public static int WithException(){
int i=10;
try{
System.out.println("i in try block is--"+i);
i = i/0;
return --i;
}catch(Exception e){
System.out.println("i in catch - form try blo
转载
2015-08-14 12:13:56 ·
285 阅读 ·
0 评论