Dear Java Programmer:
 
 
I am not too sure I have followed the instructions:
 
I created the following:
MyClassObject classObj1 = new MyClassObject("Eleven", 11);
 
 
then
System.out.println(hs.add(classObj1));

 
Instructions say:
"Display the HashSet object"
 
I receive result for two objects Obj1 and Obj2 added:
myhashset.myclassobj...@addbf1, 
myhashset.myclassobj...@19821f
 
--------------------------------------------------------------------------------------------------------------
Question:
1) is this what is wanted?
2) what do the numbers and letters after "@" mean?


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
-~----------~----~----~----~------~----~------~--~---

Reply via email to