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 |
Is it legal to initialize list like this?
What are the 4 types of data?
Who invented merge sort?
What is an array vs list?
Which is better hashmap or arraylist?
Can hashset contain duplicates?
What are some of the best practices relating to the java collection framework?
What is the difference between length () and size () of arraylist?
Will arraylist maintain insertion order?
What does quick sort do?
what is atmost complete binary tree?
What is the complexity of arrays sort?