3 ms·
It makes a whole lot more sense in C++ too because you can actually pass by reference.
by cup-of-tea 9y ago
It makes a whole lot more sense in C++ too because you can actually pass by reference.
- colanderman 9y agoYes. This is what lmm and others in this thread are missing. Pass-by-reference includes behavior which Java does not exhibit but which several other languages (C++, C and Lisp macros, etc.) do. You can't call Java pass-by-reference just because it feels right to you. It is a phrase which means something which some languages are and Java is not.