134k views
0 votes
To ensure that the original value of an argument passed to a method remains unchanged after returning from the method, you should use a reference parameter or an output parameter. True or false?

User Iksnae
by
4.5k points

1 Answer

0 votes

Answer:

false

Step-by-step explanation:

A reference parameter passed into the method can be changed by the method, when the method changes all of a parameter's variables, the parameter will keep the changes after the method is returned.

User Waternova
by
4.6k points