The following code runs for both var = putVar; & this.var = putVar;
I understand: \"this\" is used to identify that - \"put this value for just \'my\'
Like ktm mentioned, setters tend to use the same name as the field for the parameter. In this case, the parameter shadows the field name, so
public void setX(int x) { x = x; }
would just set the parameter to itself rather than setting the field to the parameter.