3 ms·
It looks like the article pretty consistently uses the phrase "the pointer is allocated ..." to mean that that's where it's pointing to.
by Rusky 9y ago
It looks like the article pretty consistently uses the phrase "the pointer is allocated ..." to mean that that's where it's pointing to.
- shock 9y agoSo the article is pretty consistently misleading/incorrect. A pointer is a data structure like any other, in fact Java is pass-by-value, the pointer values are copied when objects are being passed as function arguments.
- Rusky 9y agoTo me it seems it's just using different terminology than you expected. I've heard and used the article's version plenty of times and it generally works in context.