Hi: I understand now. The toString method is placed inside of the MyOwnObject class which overrides the toString method of Object class. The Object class returns: nameofthecl...@hashcodelocation with the toString method of the HashSet or Object class, not too sure where it comes from. I understand the Object has to be placed in the Set. The get() method doesn't place the Object class but the name which is not the Object.
Respects, JKid314159 http://existentialists.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
