import java.lang.String; public class Setter{ private String foo; public void setFoo( String foo ) { this.foo = foo; } public String getFoo() { return foo; } }