public class SquareModel {
private long value;
public SquareModel(long value) {
this.value = value;
}
public long getValue() {
return value;
}
public void setValue(long value) {
this.value = value;
}
public void square() {
value = value * value;
}
}