aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Science Fundamentals
  • Which of the following is not a constructor of the HashMa...
Multiple choice

Which of the following is not a constructor of the HashMap class in java collection framework?

  1. HashMap()

  2. HashMap(Map m)

  3. HashMap(int capacity)

  4. HashMap(int capacity, float fillRatio)

  5. None of the above

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

All of the above are the constructors of the HashMap class.

Keep practicing — related questions

  • Which of the following constructor of the HashMap gives NullPointerException in the java collection framework?
  • Which of the following constructors of the HashMap class throws NullPointerException in java collection fra...
  • How many constructors of HashMap class are there in java collections framework?
  • How many constructors of HashMap class are there in Java collections framework?
  • Which of the following Map classes extends the HashMap class in java collection framework?
  • Which of the following classes is extended by the HashMap class in java collection framework?
  • How many constructors of LinkedHashMap class are there in java collections framework?
  • How many constructors of LinkedHashMap class are there in Java collections framework?
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