Q. Which exception is thrown when array index is invalid?
β
Correct Answer: (B)
ArrayIndexOutOfBoundsException
Explanation: Invalid array index throws ArrayIndexOutOfBoundsException.