Java does not pass any variables by reference.
It is tempting to think of objects being passed by reference in Java -- but harmful. Variables of object type are references. When passed, they are passed by value.
In other languages, pass-by-reference and call-by-reference are the same thing.
Edit: More detail is provided in the existing stackoverflow question "Is Java pass by reference?" (Spoiler: No.)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…