In Java, which exception is thrown when an attempt is made to access an array element with an index that is negative or greater than or equal to the array size?

In Java, which exception is thrown when an attempt is made to access an array element with an index that is negative or greater than or equal to the array size? Correct Answer ArrayIndexOutOfBoundsException

Related Questions

A teacher asked the class to subtract 5 from 75.70% of the class said: 25. Their work was shown as: \(\begin{array}{*{20}{c}} {\begin{array}{*{20}{c}} 7&5 \end{array}}\\ {\underline {\begin{array}{*{20}{c}}\ { - 5} \ \ \ &{} \end{array}} }\\ {\underline {\begin{array}{*{20}{c}} 2&5 \end{array}} } \end{array}\) Which of the following describes the most appropriate remedial action that the teacher should take to clarify this misconception?
Which exception is thrown when an array element is accessed beyond the array size?
Which Java exception is thrown when an array index is out of bounds?