Question: When you pass an object's reference to a method call, what will happen? Compile error, no object can be passed to a method The address
When you pass an object's reference to a method call, what will happen?
Compile error, no object can be passed to a method
The address of the object is copied and given to the method
A new object is created in the method to overwrite the original object
The object is copied and given to the method
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
