2 ms·
There arent three concepts here. Dog d means "a pointer to a dog object" By forcing "pass-by-reference" to mean two things you are creating ambiguity that is
by mjburgess 9y ago
There arent three concepts here.
Dog d means "a pointer to a dog object"
By forcing "pass-by-reference" to mean two things you are creating ambiguity that is trivially resolved by correctly interpreting a java type signature.