Skip to content

Glossary: Algorithms Beyond the Basics in Java

ArrayIndexOutOfBoundsException

The error Java throws when code reads or writes an array position that doesn't exist, such as index 61 in an array of length 61. Check lengths and loop bounds.

Where the book teaches it