Q. What happens when you try to access an element at an index that is out of bounds in an ArrayList in Java?
β
Correct Answer: (B)
It throws an ArrayIndexOutOfBoundsException.
You must be Logged in to update hint/solution