A basic setter takes a single argument that is the same data type as the instance variable and set the instance variable (the attribute) to the passed-in value.
You may decide to write a modifier that takes multiple arguments - typically one for each attribute. For instance, the setLocation() method in the Point class takes the new x and the new y values.