Why we use set in java?
Answer / Kumar Saurabh
Sets in Java are used to store unique elements in a collection. Unlike List, Set does not allow duplicate elements and provides the operations like union, intersection, subtracting one set from another etc., which make it useful in various programming tasks.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is domain object
What is a method vs function?
what are the analysis of an object
how to connect one jsp page to another jsp page????
What does || mean in code?
What is a class instance variable?
How many bytes is string in java?
In what type of containers, Border layout is a default layout?
Can we define package statement after import statement in java?
What is difference between adapter class and listener?
Can each java object keep track of all the threads that want to exclusively access it?
Will minecraft java be discontinued?