Multiple Choice
Collections method sort that accepts a List as an argument sorts the elements of a List,which must implement the __________ interface.
A) Comparable.
B) Comparator.
C) Compare.
D) Ordering.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Which statement is false?<br>A) Java does not
Q5: Stack method _ looks at the top
Q7: Maps allocate keys to values and cannot
Q7: Interface Collection contains _ operations (i.e., operations
Q15: PriorityQueue method _ inserts an element at
Q17: Method shuffle is a member of _.<br>A)
Q29: Iterator method _ determines whether the Collection
Q31: Which of the following does not implement
Q33: Which statement is false?<br>A)A collection is an
Q36: Class Collections provides algorithms for reversing, filling