Let's say I want to override the method equals() of Object:
public boolean equals(Object o){
//something
}
public boolean equals(SomeClass s){
//something else
}
SomeClass is obviously also an Object, so which method will be called if I use equals with an Instance of SomeClass as parameter?