The difference between an array and an ArrayList is
A) an ArrayList uses a LinkedList to hold its elements,an array does not.
B) an array keeps track of its length while an ArrayList does not track comparable information
C) arrays have a fixed size and cannot grow to accommodate more elements
D) All of the above
Correct Answer:
Verified
Q5: Assume an array-based list implemented by a
Q6: What is the difference between the Iterator
Q7: Assume an array-based list implemented by a
Q8: The int indexOf(Object o)method of the List
Q9: A constructor for an array-based list takes
Q11: Assume an array-based list implemented by a
Q12: The E get(int index)method of the List
Q13: Why does the Java Collections Framework define
Q14: A new element is added to an
Q15: An ArrayList is so called because
A) you
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents