Answer Posted / kiran
you have SET INTERFACE in COLLECTION in java . where u can
store unique elements and if u try to add duplicate elements
it will raise an error
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Can we overload final method in java?
What are the 8 data types in java?
What is meant by attribute?
What is the difference between I ++ and ++ I in java?
What is array list in java?
Is .net better than java?
How do you change an int to a string?
How do you escape in java?
Is empty list java?
If an object is garbage collected, can it become reachable again?
How do you add an element to a hashset in java?
What are the data types supported by java?
When should we create our own custom exception classes?
What is floor in java?
Which class is the superclass of all classes?