Ah, I see the reasoning. I only did basic Java in university so I might be remembering incorrectly, but aren't variables storing non-primitive values called "References"?
Seems weird to me to say that Java "passes by value" when all objects being passed are actually references to objects.
Seems weird to me to say that Java "passes by value" when all objects being passed are actually references to objects.