执行下列程序时,会产生( )异常。 public class Test{ public static void main(String args[ ]){ int d=101; int b=220;

admin2012-12-13  21

问题 执行下列程序时,会产生(   )异常。     public class Test{          public static void main(String args[ ]){        int d=101;        int b=220;        long a=321;        System.out.println((a-b)/(a-b-d));        }        }

选项 A、ArraylndexOutOfBoundsException
B、NumberFormatException
C、ArithmeticException
D、EOFExcepfion

答案4

解析
转载请注明原文地址:https://jikaoti.com/ti/XJ80FFFM
0

最新回复(0)