Multiple Choice
Why does the Java Collections Framework define a List as an interface rather than a class?
A) To be consistent with earlier versions of Java
B) To allow different types of concrete classes,with different performance characteristics to implement the interface
C) To allow the use of generic types
D) All of the above
Correct Answer:

Verified
Correct Answer:
Verified
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
Q12: Assume an array-based list implemented by a
Q14: Assume an array-based list implemented by a
Q15: The int indexOf(Object o)method of the List
Q16: The boolean contains(E element)method searches a ArrayList
Q17: Assume an array-based list implemented by a
Q18: An ArrayList is so called because<br>A) you