What is the hashCode() method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the hashCode() method?
Rating:
The hashCode() method is defined in the java.lang.Object class. It returns the hash code of the invoking object. The hash code value returned by this method is a number of type int. The signature of the hashCode() method is given below:
Rating:
Was this information helpful?
Other articles
- What is the toArray() method?
- What is the bitwise left shift operator?
- What is length field?
- What is Serializable?
- What is the Comparable interface?