Mutator methods alter the state of an object.
- Used to mutate / change an object’s state.
- Often seen as “set” methods, which come in a simple form:
voidreturn type- method name related to field name
- single formal parameter with the same type as field
- single assignment statement