//MethodOverload2.java
// Overloaded methods with identical signatures and
// different return types. This is illegal.

public class MethodOverload2 {

public static void main(String args[]) {}

public int square( double x )
{
return x * x;
}

public double square( double y )
{
return y * y;
}
}