Jump to content

Talk:Mutator method

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Furrykef (talk | contribs) at 08:23, 21 March 2008 (fmt; unsigned comment). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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 —Preceding unsigned comment added by 84.176.233.185 (talkcontribs) 09:01, 18 May 2006