A list method E remove(int index) designed to remove and return the element at the given index should throw IndexOutOfBoundsException when

A) the index is 0
B) the index is negative, and greater than the size of the list
C) the index is negative, or is greater than the size of the list
D) the index is negative, or is greater than, or equal to, the size of the list

D) the index is negative, or is greater than, or equal to, the size of the list

Computer Science & Information Technology

You might also like to view...

JavaScript is used as a programming tool for: ?

A. ?managing databases. B. ?designing style sheets for websites. C. ?creating interactive web forms and animated graphics. D. ?providing virtual reality, diagnosis, and nonlinear controls.

Computer Science & Information Technology

To determine whether an attack has occurred or is underway, NIDPSs compare measured activity to known __________ in their knowledge base.

A. vulnerabilities B. fingerprints C. signatures D. footprints

Computer Science & Information Technology