aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Science Fundamentals
  • Which of the following methods are defined by SortedSet i...
Multiple choice

Which of the following methods are defined by SortedSet interface in java collection framework?

  1. Object first()

  2. Object last()

  3. Comparator comparator()

  4. All of the above

  5. Only (1) and (3)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Yes, all the three methods are defined by the SortedSet interface.

Keep practicing — related questions

  • Which of the following interfaces is/are called collection interfaces in java?
  • Which of the following methods is not defined in Set interface java collection framework?
  • Which of the following interfaces in java enables a user to work with groups of objects and also, it is at ...
  • Which of the following methods of the Set interface returns the number of elements in the java collection f...
  • Which of the following is/are not the method(s) of the Iterator interface in collection framework?
  • Which of the following methods is present in LinkedList class in Java collections?
  • Which of the following methods is present in LinkedList class in Java Collections?
  • Which of the following is not a method of SortedMap interface?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy