Re:Java is Pass-by-Value, Dammit
by jjnoakes on Sunday March 22, 2015 @11:00AM
(#9246928)
Java has no notion of "taking the address of an object" because you never have an expression that refers to an object directly. You only have the addresses, so there's no need (or way) to convert objects to their address.
And it's all pass by value (for all values you could have - numbers, addresses, booleans, whatever).
And it's all pass by value (for all values you could have - numbers, addresses, booleans, whatever).