This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Java in General and the fly likes Regarding HashCode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regarding HashCode" Watch "Regarding HashCode" New topic

Regarding HashCode

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 150
Please tell if two object hashcode are equals, The two object should be equal?

Santhosh Kumar V.K
Tim Cooke

Joined: Mar 28, 2008
Posts: 2367

This has been discussed many times. The java Object documentation explains it pretty well.

Tim Driven Development
I agree. Here's the link:
subject: Regarding HashCode
It's not a secret anymore!