|
Val, you're correct both times. Because the method passes a copy to the reference, as opposed to the reference itself, you cannot reassign the reference. Hence, setting the input to a new object won't affect the object outside the method.
sde, why not just return null instead of false, and check to see if the object returned is null?
|