欢迎来到牛牛题库网 牛牛题库官网
logo
全部科目 > Java认证考试 > Java认证考试综合练习

多项选择题

class Flow { 
public static void main(String [] args) { 
try { 
System.out.print("before "); 
doRiskyThing(); 
System.out.print("after "); 
} catch (Exception fe) { 
System.out.print("catch "); 
} 
System.out.println("done "); 
} 
 public static void doRiskyThing() throws Exception { 
// this code returns unless it throws an Exception 
} } 
可能会产生下面哪两项结果?() 

A.before
B.before catch
C.before after done
D.before catch done

点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题