Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:46 pm
by answerhappygod
a) max(Collection c)
b) max(Collection c, Comparator comp)
c) max(Comparator comp)
d) max(List c)