THE EXPERT ADVISE ON JAVA
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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment