File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes hashcode() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "hashcode()" Watch "hashcode()" New topic


Anitha Srinivasan
Ranch Hand

Joined: Nov 07, 2006
Posts: 53
what is hashcode() and when it is used? can someone explain this .i am confused.
Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3921

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

What is your confusion?

My Blog SCJP 5 SCWCD 5
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

Anitha Srinivasan wrote:what is hashcode() and when it is used?

This article from Martin Odersky will tell you the use of hashcode elaborately
tushar panda
Ranch Hand

Joined: Feb 16, 2009
Posts: 133
If you have got a K & B book , read it , there it is given in extremely simple language

Do Right , Fear No Man
I agree. Here's the link:
subject: hashcode()
It's not a secret anymore!