12345678910



Question 1: What happens during execution if an negative value is used for an array index?
1. An IndexOutOfBoundsException is thrown.
2. A NumberFormatException is thrown.
3. The first slot of the array is used.
4. This is an Error, so the program immediately terminates no matter what.