Talk:Mutator method
From Wikipedia, the free encyclopedia
In computer science the mutator method is a method that changes the value of the argument variables.
Wrong, the object the function is called on is changed, not the variables that are passed as argumetns to the method/function
In the call-by-value form of argument passing, a reference or pointer to the data needs to be passed.
Wrong, no explicit need for that, just because its a mutator. And the example also shows pass-by-value of an integer