How sets avoid duplicates internally ?
<p>I had a doubt about the set in Collections framework. How the set itself will identify duplicates and how it will come to know? Could any one please explain how it is implemented? How hashcode and equals methos will come into picture? I need a brief explanation as it is really important for me.</p>
