Which exception is thrown when accessing an array with invalid index?
Correct answer
ArrayIndexOutOfBoundsException
Explanation
Accessing an array with an invalid index throws ArrayIndexOutOfBoundsException.
Update: Admin added a tag on this question
Topics
By Admin · · 30 views