Christian Posta — Software Blog

Become the best you can be at your profession. If you've stopped learning, you've given up.

August, 2011

Pass by reference? Java is pass by value.

I stumbled upon a discussion, probably an age-old discussion, about whether java passes function arguments by reference or by value. i know I’ve studied this in the past and I know the answer is not a crystal clear one unless you consider C++’s accepted definitions of pass by reference. In that case, java is always [...]

Posted in Uncategorized | 11 Comments »