Question: Which statement about the pass-by-reference is NOT true? a.Every time you pass a reference variable to a method, you also pass the object referred by
Which statement about the pass-by-reference is NOT true?
a.Every time you pass a reference variable to a method, you also pass the object referred by the refenerece variable to the method.
b.In the pass-by-reference, only one object exists in the computer memory but are referred by more than one references.
c.'this' reference always refer to the object self.
d.The pass-by-reference is only used for reference variables.
e.If a method uses the reference variable as the argument, the method can return void.
Step by Step Solution
3.51 Rating (158 Votes )
There are 3 Steps involved in it
The detailed answer for the above question is provi... View full answer
Get step-by-step solutions from verified subject matter experts
