单项选择题

运行下面程序时,会产生的异常是()。

A.NumberFormatException
B.ArithmeticException
C.IOException
D.ArrayIndexOutOfBoundsException