Hi,

 

Say if I have 2 object instances of a class Person named Person1 and Person2. 
If these object instance is passed as an argument to a calling method e.g 
public void method(Person P).  Is there anyway inside the method that can 
identify which is the current Person object Person1 or Person2 that is being 
passed to the method?  

 

Thanks.

 

Regards,

Anthony
                                          
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969

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