call by value or call by reference (Java in General forum at JavaRanch)
I prefer simple explanations. Java is always call-by-value. Confusion on this point stems from a simple misunderstanding. When an object is called for the reference value is passed: call-by-value. Still, that begs the question: what is call-by-reference? ...