class JavaClass { private String myX = ""; public String getX() { return myX; } public double setX(String x) { myX = x; return 1.0; } }