Language - (Mutator|Setter|Set) method

> Code - (Programming|Computer) Language > Language - Object

Table of Contents

1 - About

Mutators are methods. Their role are to set the values of an object's state (a field in Java, a property in Javascript…)

The Get method is the accessor while the Set method is known as the mutator method. See State - Mutable