posted 15 years ago
Hi all,
Please explain me the following table i am not able to understand it
Remember that the equals(), hashCode(), and toString() methods are
all public. The following would not be a valid override of the equals() method, although
it might appear to be if you don�t look closely enough during the exam:
class Foo { boolean equals(Object o) { } }
And watch out for the argument types as well. The following method is an
overload, but not an override of the equals() method:
class Boo { public boolean equals(Boo b) { } }
thanks in advance