Multiple Choice
If a new element is added to an ArrayList whose internal array if already full,
A) the add method throws an exception
B) A new,bigger internal array is created,the elements are moved to the new array,the old internal array is deleted,and then the new element is added
C) the new element is not added,and -1 is returned
D) the new element is not added,and null is returned
Correct Answer:

Verified
Correct Answer:
Verified
Q1: A new element is added to an
Q2: A constructor for an array-based list takes
Q3: The E get(int index)method of the List
Q4: The size of an array-based list such
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