Multiple choice

_______________ exception is thrown when an attempt is made to access element beyond the index of the array.

  1. NullPointer exception

  2. Arithmetic exception

  3. ArrayIndexOutOfBounds exception

  4. Either 1 or 2

  5. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

ArrayIndexOutOfBounds exception is thrown when an attempt is made to access element beyond the index of the array.