MCQOPTIONS
Saved Bookmarks
| 1. |
If a negative value is used for an array index, ____. |
| A. | a NumberFormatException is thrown |
| B. | the program terminates immediately |
| C. | the last index of the array is automatically accessed instead |
| D. | an IndexOutOfBoundsException is thrown |
| Answer» E. | |