Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Object.hashCode()

 
Pavel Kubal
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why this




runned multiple prints allways this



?
[ June 13, 2006: Message edited by: Pavel Kubal ]
 
vishwanath nadimpally
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whats the question? obj1.hashCode() will always be different from obj.hashCode() as they are 2 different objects
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic