Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hashcode for 1.5

 
Vinay Belagavi
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers

I am studying for SCJP 1.5 exam and will be takeing it on Aug 30.Can anybody tell me what concepts of hashcode one needs to know to take up the exam.I see a lot of questions on hashcode in the mock tests i took.
Please advice.
Thanks in advance.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most of what you need to know (the "hashCode contract") is described in the API documentation for the hashCode method in the Object class.

Beyond that, you should understanding the reasons for hashing. See Understanding hashCode() topic in Eckel's Thinking in Java.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic