2 Replies Latest reply: Jun 3, 2011 7:52 AM by 814200 RSS

    Why Collection interface declares equals() and hashCode() method

      When I went through the source code of Collection interface, I found equals() and hashCode() are declared? Why? If a class implements this interface, it will inherit these two method from Object, and we can true to override them.