Multiple Choice
If a negative value is used for an array index, ____.
A) a NumberFormatException is thrown
B) the program terminates automatically without throwing an exception
C) the last index of the array is automatically accessed instead
D) an ArrayIndexOutOfBoundsException is thrown
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q36: To handle window events, if the class
Q37: Making a reference to an object that
Q38: The class Object is derived from the
Q39: The MouseListener interface defines _ methods.<br>A) two<br>B)
Q40: The methods getMessage and printStackTrace are private
Q42: When is a finally block executed?<br>A) Only
Q43: Which of the following is NOT a
Q44: How many times will the code in
Q45: To handle window events, you first create
Q46: What is the most likely type of