This method gives hash code value of the Object.
Note:
1.During execution of same Object in Java application,the hashcode must return same integer values.
This integer need not remain consistent from one execution of an application to another execution of the same application.
2.If two objects are equal according to equals(object),then hashcode method must returns same integer values.
Note:
1.During execution of same Object in Java application,the hashcode must return same integer values.
This integer need not remain consistent from one execution of an application to another execution of the same application.
2.If two objects are equal according to equals(object),then hashcode method must returns same integer values.
Simple yet fantastic post about this amazing future of java. Thanks!
ReplyDeleteRegards,
Java Online Training | Java Online Training in India | Java Online Training India | Java Online Training in Hyderabad | Java Online Training Hyderabad | Java Training in Hyderabad | Java Training in India | Java Training Institutes in India | Java Training Institutes in Hyderabad | Java Course in Hyderabad | Java Training | Learn Java Online | Online Java Training | Best Java online Training Institutes in Hyderabad | Best Java Training Institutes in Hyderabad | Best Institutes for Java | Java Institutes in Hyderabad | Best Institutes for Java in Hyderabad | Learn Java | Java Training Institutes in Hyderabad | Java Certification | Java Certification Training | Java Certification Training in Hyderabad | Java Certification Training in India