posted 14 years ago
If you create a new class without an equals method or an extends clause and you try to call the equals method on that class it works doesn't it ?
Therefore your class must have inherited the equals method from one of its parents. Work your way up the inheritance tree of your class and find which one implements equals.