执行下列程序时,会产生什么异常( )。A.ArrayIndexOutOfBoundsExceptionB.NumberFormatExceptionC.ArithmeticExceptionD.EOFException

执行下列程序时,会产生什么异常( )。

A.ArrayIndexOutOfBoundsException

B.NumberFormatException

C.ArithmeticException

D.EOFException


相关考题:

执行下列程序时,会产生什么异常( )。 publicclassTest{ publicstaticvoidmain(Stringargs[]){ intd=101; intb=220; longa=321; System.out.println((a-b)/(a-b-d)); } }A.ArraylndexOutOfBoundsExceptionB.NumberFormatExceptionC.AriUiinedcExcepdOnD.EOFExCtion

执行下列程序时,会产生( )异常。 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.ArraylndexOutOfBoundsExceptionB.NumberFormatExceptionC.ArithmeticExceptionD.EOFExcepfion

执行下列程序时,会产生什么异常 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.ArrayIndexOutOfBoundsExceptionB.NumberFormatExceptionC.ArithmeticExceptionD.EOFException

执行下列程序时,会产生什么异常 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.ArraylndexOutOfBoundsExceptionB.NumberFormatExceptionC.ArithmeticExCeptionD.EOFException

执行下列程序时,会产生什么异常 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.ArrayIndexOutOfBoundsExceptionB.NumberFormatExceptionC.ArithmetieExceptionD.EOFException

执行下列程序时,会产生什么异常( )。 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.ArraylndexOutOfBoundsExceptionB.NumberFormatExceptionC.ArithmeticExceptionD.EOFExeeption

运行下面程序时,会产生什么异常?() public class X7_1_5 { public static void main(String[] args) { int[] z = {1,2,3,4}; int p = z[4]; int x = 0; int y = p/x; } }A.ArithmeticExceptionB.ArrayIndexOutOfBoundsExceptionC.NumberFormatExceptionD.IOException

运行下面程序时,会产生什么异常?() public class X7_1_5 { public static void main(String[] args) { int[] z = {1,2,3,4}; int p = z[4]; int x = 0; int y = 5/x; } }A.ArithmeticExceptionB.NumberFormatExceptionC.ArrayIndexOutOfBoundsExceptionD.IOException

运行下面程序时,会产生什么异常?() public class X7_1_5 { public static void main(String[] args) { int[] z = {1,2,3,4}; int p = z[4]; int x = 0; int y = 5/x; } }A.NumberFormatExceptionB.ArrayIndexOutOfBoundsExceptionC.IOExceptionD.ArithmeticException