Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Programmer Certification (OCPJP)
what is hashcode
sankar kandasamy
Greenhorn
Posts: 13
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I dont know, how the hashcode is calculated for the object?
Can any one help me for this
Jesper de Jong
Java Cowboy
Posts: 16084
88
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What exactly do you want to know; how the hashCode() method in class Object calculates hashcodes? You can find the answer to that question in the API documentation of class Object.
Jesper's Blog
-
Pluralsight Author Page
Burkhard Hassel
Ranch Hand
Posts: 1274
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Howdy ranchers,
you cannot tell exactly how the hashCode is calculated. It is a
native
method so it is performed by the JVM and may be different on every System.
Yours,
Bu.
Don't MAKE me come back there with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
need help with the space-time continium
hash code
what is hashcode and equals contract?
basicjava
Practice Question
More...