执行下列程序时,会产生什么异常( )。 publicclassTest{ publicstaticvoidmain(Stringargs[]){ intd=101; intb=220; longa=321; System.out.println((a-b)/(a-b-d)); } }
A.ArraylndexOutOfBoundsException
B.NumberFormatException
C.AriUiinedcExcepdOn
D.EOFExCtion
第1题:
执行下列程序时,会产生什么异常 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.EOFException
第2题:
执行下列程序时,会产生什么异常 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.ArrayIndexOutOfBoundsException
B.NumberFormatException
C.ArithmetieException
D.EOFException
第3题:
A.2
B.3
C.5
D.7
第4题:
执行下列程序时,会产生什么异常( )。
A.ArrayIndexOutOfBoundsException
B.NumberFormatException
C.ArithmeticException
D.EOFException
第5题:
执行下列程序时,会产生什么异常( )。 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.EOFExeeption