单选题 下列常见的系统定义的异常中,哪个是数组越界异常?
A)ArrayIndexOutOfBoundsException
B)IOException
C)NullPointerException
D)ArithmeticException


【正确答案】 A
【答案解析】解析:ArrayIndexOutOfBoundsException为数组越界使用异常;IOException 为输入输出错误;NullPointerException为引用为空异常;ArithmetieException为算术异

常,如除数为0。