2在oneMethod()方法运行正常的情况下,程序段将输出( )。public void test () {try{ oneMethod();System.out.println("condition 1");} catch(ArratInd

admin2012-12-13  35

问题 2在oneMethod()方法运行正常的情况下,程序段将输出(    )。public void test () {try{    oneMethod();System.out.println("condition 1");} catch(ArratIndexOutOfBoundException e){System.out.printtln("condition 2");} catch(Exception e) {System.out.println("condition 3");}finally{System.out.prinfln("finally");}}                          

选项 A、condition 1  
B、condition2
C、condition 3
D、condition 1 finally

答案8

解析
转载请注明原文地址:https://jikaoti.com/ti/oi80FFFM
0

最新回复(0)