EQUALS AND HASHCODE RELATION


The Equals method in the above program is return false even though  hashcode method is giving same value as 3185.

So we can find that hash value of two object need not be same.

Comments

Popular posts from this blog

Apache Karaf + Pax CDI OSGI Service

Apache CXF CDI in Karaf (Using CXF and CDI 1.1 (JSR-346))

OSGI + PAX CDI + Drools + Karaf