Which of these is an incorrect form of using method max() to obtain a maximum element?
Posted: Wed Jul 13, 2022 7:46 pm
a) max(Collection c)
b) max(Collection c, Comparator comp)
c) max(Comparator comp)
d) max(List c)
b) max(Collection c, Comparator comp)
c) max(Comparator comp)
d) max(List c)