Thrown when an array is accessed with an index that is negative or greater than or equal to the array length.
ArrayIndexOutOfBoundsException
java Thrown when an array is accessed with an index that is negative or greater than or equal to the array length.