Vidyalelo
Java Programming · Q39

Exceptions

Programming · Java Programming · question 39

Q39

Which exception is thrown when an array element is accessed beyond the array size?

A.
ArrayElementOutOfBounds
B.
ArrayIndexOutOfBoundsException 
Answer
C.
ArrayIndexOutOfBounds
D.
None of these

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board