aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Concepts
  • Which of the following collections does not allow duplicacy?
Multiple choice

Which of the following collections does not allow duplicacy?

  1. Linkedlist

  2. Hashset

  3. Vector

  4. Queue

  5. ArrayList

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

Hashset is derived from Set interface, which does not allow duplicacy.

Keep practicing — related questions

  • Which of the following classes allows duplicate values in java collection framework?
  • Which of the following may have duplicate elements?
  • Which of the following data structures represents the collection of objects which may or may not contain du...
  • Which of the following interface allows duplicate elements or keys by their subclasses in collection in java?
  • You need to store elements in a collection that guarantees that no duplicates are stored. Which one of the ...
  • Which of the following collection classes from java.util package are Thread safe?
  • Which of the following is not an interface of Java Collection Framework?
  • Which of the following classes will not allow unsynchronized read operations by multiple threads?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Data Structures and Algorithms (1518 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy