题目内容
写出下面程序的运行结果public class UsingException {public static void main(String[] args) {try {method();}catch(Exception e) {System.out.print('m');}System.out.print('n');}static void createException() {throw new ArrayIndexOutOfBoundsException();}static void method(){try {createException();System.out.print('a');}catch(ArrayIndexOutOfBoundsException e) {System.out.print('b');}finally {System.out.print('c');}System.out.print('d');}}
查看答案
搜索结果不匹配?点我反馈
更多问题