This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes please explain with an example 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 "please explain with an example" Watch "please explain with an example" New topic
Author

please explain with an example

srilatha annepu
Greenhorn

Joined: Jun 29, 2006
Posts: 28
the equals method provides "deep comparision" by comparig tow objects are logically equal as opposed to "shallow comparision" provided by ==.the equality method in java.lang.Object only provides "shallow comparision" ,same as == comparision
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: please explain with an example
 
It's not a secret anymore!