|
If print() changes the value held in st, will this change the actual object? A good answer might be:No---the formal parameter st is a reference to the object, not the actual object itself. Changing the reference will not change the object. | |
Changing a Reference ParameterHere is an altered program in which the print() method changes the value held in its formal parameter.
| |
QUESTION 8:Click Here after you have answered the question |