單項選擇題

語句:int x[]=new int[-5];產(chǎn)生的異常是()

A.IllegalArgumentException
B.ArithmeticException
C.NegativeArraySizeException
D.ArrayIndexOutOfBoundsException

微信掃碼免費搜題