logo - 刷刷题
下载APP
【简答题】

写出程序运行结果class Demo { public static void func() { try { throw new Exception(); } finally { System.out.println("B"); } } public static void main(String[] args) { try { func(); System.out.println("A"); } catch (Exception e) { System.out.println("C"); } System.out.println("D"); } }

举报
题目标签:程序运行
参考答案:
参考解析:
.
刷刷题刷刷变学霸