下列代码运行时会产生()类型的异常。 int[] array = new int[4]; System.out.println(array[7]);

大学网课 已帮助 人

下列代码运行时会产生()类型的异常。 int[] array = new int[4]; System.out.println(array[7]);

A.ArithmeticException

B.ArrayIndexOutOfBoundsException

C.ClassCastException

D.NullPointerException

下列代码运行时会产生()类型的异常。 int[] array = new int[4]; System.out.println(array[7]);

热搜:c语言源代码可以不经过编译而被计算机直接运行

回答

共1条回复

  • ArrayIndexOutOfBoundsException