java getter

Java
public getValue() {
  return value;
}public setValue(value) {
  this.value = value;
}
Source

Also in Java: