2 Replies Latest reply on Jun 3, 2011 12:52 PM by 814200

    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.