4 ms·
It's still pass by value. The value of the object happens to be a reference to a memory location. A primitive also points to a memory location too.
by k2xl 9y ago
It's still pass by value. The value of the object happens to be a reference to a memory location. A primitive also points to a memory location too.