ArrayIndexOutOfBoundsException

The ArrayIndexOutOfBoundsException is an exception that occurs when attempting to access an index that does not exist within a given array.

Contributors

Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn Java on Codecademy