This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
collections doubt
object comparison
Difference between hashCode() and equal()
How to equal same class objects