Object class has a method
boolean equals(Object obj)
and has a signature of equals(Object obj)
in my code equals method has a signature of
equals(Team t)
Ok I got it. Thanks
btw
"To override a method, you need the same signature."
this sentence is half correct. Should be
"To override a method, you need the same signature and return type"
cause return type does not count in signature.