5 下面程序的运行结果是() public class Demo { public static void main(String[] args) { try
已帮助 人
5、下面程序的运行结果是() public class Demo { public static void main(String[] args) { try { System.out.println(10 / 0); } catch (RuntimeException e) { System.out.println("RuntimeException"); } catch (ArithmeticException e) { System.out.println("ArithmeticException"); } } }
A.编译失败
B.编译通过,没有结果输出
C.输出:RuntimeException
D.输出:ArithmeticException
![5 下面程序的运行结果是() public class Demo { public static void main(String[] args) { try](/uploads/allimg/6-2697232Q9.jpg)
回答
共1条回复-
n=0
