There was an error while loading. Please reload this page.
Explain and exemplify how equals() and hashCode() methods works in Java.