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...

It is not possible to hide the audio icon during a slide show

Indicate whether the statement is true or false

Computer Science & Information Technology

Pressing Enter at the end of a line or paragraph creates a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Most browsers do not yet support scrolling a table body independent of its header and footer.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Flickr adds your pictures to your ____________________ as you upload them and displays the most recently uploaded pictures first.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology