Ques. equals vs hasCode implementation

- What is equals and hashCode overriding?
Why and when should we override these methods?
If we do not override what will happen?
If we override only equals what will happen?
And if we override only hashCode what will happen?

Posted on Jul 20, 2014 by Raj Mohan

Enter your Answer

Name
Email Address
Answer