Thursday, 12 March 2015

Hashcode() (Core JAVA)

·         hashcode() of an object class is a public method of return type integer. Whenever this method is invoked the method returns hashcode value which is an integer value based on the object address.

·         A class can override a hashcode() in such cases original implementation will be lost and we will get overrided implementation.

No comments:

Post a Comment