Q. 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)
πŸ’¬ Discuss
βœ… Correct Answer: (C) max(Comparator comp)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
410
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Jatin Dubey
Publisher
πŸ“ˆ
82%
Success Rate