Is the equals method overriden in the collection interface or is it the one from the Object class??
This first thing to be noted is that interfaces can not override the methods as you quoted it can only declare the methods to be overriden.
The equal() methods in each collection is overrided by the abstract classes which they extends.
java.lang.Object
|--- java.util.AbstractCollection
|--- java.util.AbstractList
(equal() is overrided here) |----java.util.ArrayList
[ December 17, 2006: Message edited by: Sanjeev Kumar Singh ]