Which list does not allow duplicates?



Which list does not allow duplicates?..

Answer / Gopal Saha

HashSet in Java is an example of a collection that does not allow duplicate elements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Is it legal to initialize list like this?

1 Answers  


What are the 4 types of data?

1 Answers  


Who invented merge sort?

1 Answers  


What is an array vs list?

1 Answers  


Which is better hashmap or arraylist?

1 Answers  


Can hashset contain duplicates?

1 Answers  


What are some of the best practices relating to the java collection framework?

1 Answers  


What is the difference between length () and size () of arraylist?

1 Answers  


Will arraylist maintain insertion order?

1 Answers  


What does quick sort do?

1 Answers  


what is atmost complete binary tree?

6 Answers  


What is the complexity of arrays sort?

1 Answers  


Categories