A good answer might be:

Nothing.


Changing the Parameter Does Not Change the Original

Here is the picture again, just after the statement

    x = 0;

in the zero() method has executed:

The statement x = 0 changes only the formal parameter x. The variable value in the caller is not changed.



QUESTION 5:

As far as the main() method is concerned, what has been the effect of the zero() method?