题目详情
单选题 运行下面程序时,会产生什么异常?public class X7_1_4 { public static void main(String[] args) { int x = 0; int y = 5/x; int[] z = {1,2,3,4}; int p = z[4]; }}
A. ArithmeticException
B. NumberFormatException
C. ArrayIndexOutOfBoundsException
D. IOException

学科:JAVA语言程序设计
时间:2023-06-27 10:24:36
相关题目
相关作业
