I assumed that pure functions must always have a return type (i.e., must not be void) and must have the same output regardless of the state of the object and th
void
Impure Functions or Mutator Methods change the state of object and modify the values that are stored in Instance Variables.