Multiple Choice
The E get(int index) method of the List interface should throw an exception if
A) the index passed to it is negative
B) the index passed to it nonnegative
C) the index passed to it is negative or greater or equal to the size of the list
D) the index passed to is negative or greater than the size of the list
Correct Answer:

Verified
Correct Answer:
Verified
Q1: A new element is added to an
Q2: A constructor for an array-based list takes
Q4: The size of an array-based list such
Q5: If a new element is added to
Q6: What is the difference between the Iterator
Q7: The position of an item within a
Q8: The capacity of an array-based list such
Q9: Assume an array-based list implemented by a
Q10: Assume an array-based list implemented by a
Q11: Assume an array-based list implemented by a