does this not have the function of comparison? Doesn"t the compiler automatically ignore the Object in the parameter list according to the degree of matching?
class Circle
{
double radius;
public boolean equals(Circle circle)
{
return this.radius==circle.radius;
}
}