my dog learned polymorphism*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes How two objects can be equal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "How two objects can be equal" Watch "How two objects can be equal" New topic
Author

How two objects can be equal

Venkat Ramsimha
Ranch Hand

Joined: Dec 28, 2004
Posts: 127
Hi All,
can anybody say how can the two objects be equal?is it true to say if two references point to same object can the two objects be equal?
can any body provide a sample program for this to illustrate

Thanks
venkat ram simha
Edwin Dalorzo
Ranch Hand

Joined: Dec 31, 2004
Posts: 961

[ April 30, 2005: Message edited by: Edwin Dalorzo ]
Alex Belisle Turcot
Ranch Hand

Joined: Apr 26, 2005
Posts: 516
venkatramsimha, you are like an automatic posting machine...
[ April 30, 2005: Message edited by: Alex Turcot ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How two objects can be equal