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