Q.

Which of these exceptions will occur if we try to access the index of an array beyond its length?

A. ArithmeticException
B. ArrayException
C. ArrayIndexException
D. ArrayIndexOutOfBoundsException
Answer» D. ArrayIndexOutOfBoundsException
3k
0
Do you find this helpful?
24

View all MCQs in

Java Programming

Discussion

No comments yet