Q37
Which Java exception is thrown when an array index is out of bounds?
A.
ArrayIndexOutOfBoundsException
AnswerB.
IndexOutOfBoundsException
C.
ArrayOutOfBoundsError
D.
OutOfBoundsException
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board