>>369

public class Heihoukon {
private double x;

Heihoukon(double x) {
this.x = x;
}

public double squareRoot() {
return Math.sqrt(x);
}
}

class Kadai {
public static void main(String args[]) {
Heihoukon h = new Heihoukon(10.);
System.out.println(h.squareRoot());
}
}