
提问人:网友13***556
发布时间:2022年5月1日 21:37
[其他]
运行下面的程序时,会产生()。 public class Test{public static void main(String args[ ] ) {int
运行下面的程序时,会产生( )。 public class Test{ public static void main(String args[ ] ) { int x =0 int y = 2/x int z[ ] = {1,2,4,6} int p=z[4] } } A.ArrayIndexOutOfBoundsExcePtion异常 B.NumberFormatException异常 C.ArithmeticException异常 D.ArithmeticException异常和ArrayIndexOutOfBoundsExcePtion异常

