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 must a class do to implement an interface in java programming?

0 Answers  


What is stringjoiner ?

0 Answers  


How the metacharacters are different from the ordinary characters?

0 Answers  


What is integers and example?

0 Answers  


Is null a string in java?

0 Answers  


What do you mean by data type?

0 Answers  


what is web.xml?and its use?

7 Answers   CTS,


How many static init can you have?

0 Answers  


What is multi-catch block in java?

0 Answers  


Explain about strings in java?

0 Answers  


Explain the access modifiers for a class, method and variables?

0 Answers   Global Logic,


What are the differences between heap and stack memory?

0 Answers  


Categories