Which of these is an incorrect form of using method max() to obtain maximum element?
A. max(Collection c)
B. max(Collection c, Comparator comp)
C. max(Comparator comp)
D. max(List c)
Answer:A
Which of these is an incorrect form of using method max() to obtain maximum element?
A. max(Collection c) B. max(Collection c, Comparator comp) C. max(Comparator comp) D. max(List c)
Explanation: Its illegal to call max() only with comparator, we need to give the collection to be serched into.