CS计算机代考程序代写 public class SquareModel {

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;
}

}