Do sets allow duplicates?



Do sets allow duplicates?..

Answer / Munender Singh

No, sets in programming do not allow null values. They can only store non-null objects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What do you mean by balance factor of a node in avl tree?

1 Answers  


Why is arraylist used?

1 Answers  


What is the difference between collection and collections?

1 Answers  


What is scalar example?

1 Answers  


Why is quicksort faster than merge sort?

1 Answers  


What do you mean by priority queue?

1 Answers  


How does arraylist size work?

1 Answers  


How would you sort a linked list?

5 Answers  


What is declaring array?

1 Answers  


Define depth and height of a tree?

1 Answers  


What is the best case for bubble sort?

1 Answers  


Why we use linked list?

1 Answers  


Categories