程序运行结果是class Demo {
public static void main(String[] args) {
try {
showExce();
System.out.println("A");
} catch (Exception e) {
System.out.println("B");
} finally {
System.out.println("C");
}
System.out.println("D");
}
public static void showExce() throws Exception {
throw new Exception();
}
}
选项:
A:ABCD;
B:ACD;
C:BCD;
D:BD
发布时间:2024-04-22 22:54:53