Java - Exceptions - Interview Questions and Answers on ArrayIndexOutOfBoundException

Q1. What is ArrayIndexOutOfBoundException ?

Ans. Exception thrown by the application if we try to access an element using an index which is not within the range of array i.e lower than 0 or greater than the size of the array.

Q2. Which is the Parent Class of ArrayIndexOutOfBoundsException class?
Ans.java.lang.IndexOutOfBoundsException

Q3. Which interfaces are implemented by ArrayIndexOutOfBoundsException?
Ans.[Serializable]