This! People say java passes by reference sometimes, but in C++ the references can't be null whereas in java they can.
These are two distinct ecosystems. They use the same terminology with different meaning. That perhaps is confusing, but definitely doesn't make one or the other incorrect.