Why both hashCode() and equals() exist

Posted by Neeraj on Stack Overflow See other posts from Stack Overflow or by Neeraj
Published on 2010-03-18T11:09:23Z Indexed on 2010/03/18 11:21 UTC
Read the original article Hit count: 424

Filed under:

why java Object class has two methods hashcode() and equals()? One of them looks redundant and its percolated to the bottom most derived class?

© Stack Overflow or respective owner

Related posts about java