多項選擇題

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 
} } 
可能會產(chǎn)生下面哪兩項結(jié)果?() 

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

微信掃碼免費搜題