What exception is thrown if an invalid index is accessed in an array?
NullPointerException
IndexOutOfBoundsException
ArrayIndexOutOfBoundsException
IllegalArgumentException
This question is part of this quiz :