Examveda

Which of these is an incorrect form of using method max() to obtain a maximum element?

A. max(Collection c)

B. max(Collection c, Comparator comp)

C. max(Comparator comp)

D. max(List c)

Answer: Option C


This Question Belongs to Java Program >> Collections Framework In Java

Join The Discussion

Related Questions on Collections Framework in java