Quote (carteblanche @ Sep 21 2016 07:03pm)
i'm always iffy describing it like that since java is always pass by value. for objects, it's the "value of reference". in c you can pass a reference and another function can change what the reference points to, but java you cannot. you just get the value that the reference points to.
referring to them always as reference can be a little confusing since it depends on what you mean by reference (do you mean the pointer or the result from the pointer?). usually in non-formal environments we know what you mean, but i'd be careful about using that term to teach someone how it works.
Why are you iffy describing it like that? All object variables are references to the object, there's no other or more formal way to say it that I can think of.