File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Object.hashCode()
 
Similar Threads
HashMap prob
hashCode() problem
Equals e HashCode
question concering hashCode(), equals() and operator ==
static - final - obj ref