what is setter in java code example Example: java setter public setValue(value) { this.value = value; }