![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
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 |
View all MCQs in
Java ProgrammingNo comments yet