Why Set interface contains unique elements, what internally
implemented for this so that it contains unique elements?



Why Set interface contains unique elements, what internally implemented for this so that it contain..

Answer / jayakumar

because it implement hashcode and equals method implicitly

Is This Answer Correct ?    8 Yes 2 No

Post New Answer

More Core Java Interview Questions

What is the difference between serializable and externalizable interface?

0 Answers  


What are uses of Hash Code?

2 Answers   Cognizant,


Can an object?s finalize() method be invoked while it is reachable?

2 Answers  


What is skeleton and stub?

0 Answers  


any other way to print the text without using System.out.println() in java?

5 Answers   IBM, Infosys,






Can I extend singleton class in java?

0 Answers  


Can we convert integer to string in java?

0 Answers  


Can I uninstall java?

0 Answers  


Explain java coding standards for interfaces?

0 Answers  


Which sorting algorithm is best in java?

0 Answers  


What are advantages and disadvantages of OOPs?

0 Answers   Amdocs,


What is a ?

0 Answers  


Categories