aspose file tools*
The moose likes Java in General and the fly likes Object.hashCode() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Object.hashCode()" Watch "Object.hashCode()" New topic
Author

Object.hashCode()

Pavel Kubal
Ranch Hand

Joined: Mar 13, 2004
Posts: 356
Why this




runned multiple prints allways this



?
[ June 13, 2006: Message edited by: Pavel Kubal ]
vishwanath nadimpally
Ranch Hand

Joined: Jan 25, 2005
Posts: 116
Whats the question? obj1.hashCode() will always be different from obj.hashCode() as they are 2 different objects
 
 
subject: Object.hashCode()