A good answer might be:
First value of the result: 0 Second value of the result: 14 | |
Object References as ParametersObject references can be parameters. This works the same way as with primitive data: call by value is used, but now the value is a reference to an object. Since the invoked method has a reference to an object, it can use that object the same as any method. Here is an example program:
| |
QUESTION 6:Click Here after you have answered the question |