Q50
In Java, which exception is thrown when an attempt is made to access an array element with an index that is negative or greater than or equal to the array size?
A.
OutOfBoundsException
B.
ArrayOutOfBoundsError
C.
IndexOutOfBoundsException
D.
ArrayIndexOutOfBoundsException
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board