题目:运行下面程序时,会产生什么异常?( ) public class A { 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
答案:评论后可见此内容