Re:Java is Pass-by-Value, Dammit
by DonHopkins on Sunday March 22, 2015 @07:34AM
(#9246403)
One amusing artifact of that leaky abstraction is "java.lang.NullPointerException". How is that even possible, if Java doesn't have pointers under the hood?
[ Parent
| on HN ]
There are no claims that Java doesn't use pointers. You just don't have direct access to them. Also i don't. Think the entire purpose was to hide pointers for correctness sake but to make the memory model consistent across plarforms.