OOPS.................

Monday, February 16, 2009

How does the Set collection deal with duplicate elements? ie How thw add method identfies the duplication addition in a set.............

Answer:

The add method returns false if you attempt to add an element with a duplicate value