当前位置:百科知识 > CMS专题B

问题描述:

[单选] 如下代码: public void Test(){ try { oneMethod(); System.out.println("condition 1"); } catch (ArrayIndexOutOfBoundsException e){ System.out.println("condition 2"); } catch(Exception e){ System.out.println("condition 3"); } finally { System.out.println("finally"); } } 如果oneMethod正常运行,则输出结果中是?
A.condition 1 finally B.condition 2 finally C.ondition 3 finally D.finally
参考答案:查看
答案解析:
☆收藏

随机题目