Why Set interface contains unique elements, what internally
implemented for this so that it contains unique elements?
Answer Posted / jayakumar
because it implement hashcode and equals method implicitly
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Which sorting algorithm is best in java?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
What does java edition mean?
What is difference between final and finally in java?
Differentiate jar and war files?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
Is there a case when finally will not execute?
What is google full form?
What is return null in java?
Is an empty arraylist null?
What is immutable in java?
What are the advantages of java?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
What methods are used in Servlet?Applet communication?
Why is static used?