A good answer might be:
First value of the local var: 7 First value of the parameter: 7 Second value of the parameter: 100 Second value of the local var: 7 | |
Returning a ValueOnce the value has been passed into the invoked method (in the example, print()) the invoked method can use it or change it, but the changes do not affect the caller. But say that the invoked method needs to send a value back to the caller. How can it do that? Examine the following:
| |
QUESTION 5:Click Here after you have answered the question |