Re:Java is Pass-by-Value, Dammit
by ptx on Sunday March 22, 2015 @04:29PM
(#9248094)
Exactly. Objects in Java work just like objects in Python: pointers passed by value. The difference is that everything in Python is an object, whereas Java additionally has primitive types where the value itself is passed by value.
[ Parent
| on HN ]
There are no comments on this comment yet.