Faking the pass-by-reference semantics

Nice blog article about Java’s pass-by-reference semantics. I still think Kathy Sierra’s Campfire Story Pass-by-Value Please is a good an explanation of this difficult concept as you’ll find. And it’s nice and memorable. Kathy and Bert Bates make good use of the analogy in Head First Java too.

<

p>Thanks to Val’s Blog.

Author: cpjobling

Senior lecturer, College of Engineering, Swansea University