试题详情
- 多项选择题 现有: 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 catch
B、 before after done
C、 before catch done
D、 before after catch
- B,C
关注下方微信公众号,在线模考后查看
热门试题