Discussion :: JAVA MCQs
- Which of these is an incorrect form of using method max() to obtain maximum element?
Answer : Option C
Explanation :
Its illegal to call max() only with comparator, we need to give the collection to be serched into.
Be The First To Comment