aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java and JSP Programming Fundamentals
  • Which of the following methods of the Set interface retur...
Multiple choice

Which of the following methods of the Set interface returns the number of elements in the java collection framework?

  1. Size()

  2. Contains()

  3. Add()

  4. Iterator()

  5. Remove()

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

Yes, this method returns the number of elements in the Set interface.

Keep practicing — related questions

  • Which of the following methods is not defined in Set interface java collection framework?
  • Which of the following is/are not the method(s) of the Iterator interface in collection framework?
  • Which of the following methods is not present in Vector class in Java collections framework?
  • Which of the following methods is/are not present in Vector class in Java Collections framework?
  • Which of the following methods is present in map interface in java collections framework?
  • Which of the following methods is present in Map interface in Java collections framework?
  • Which of the following methods is present in Vector class in Java collections framework?
  • Which of the following methods is present in Vector class in Java Collections framework?
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy