I understand that when you pass an object in Java it is automatically passed by reference.
But in the end, the same thing as "Passing by reference" happens.
Originally posted by Joel McNary:
This technique is dereferencing the variables, which is not directly supported by Java, but my assertion is still that my prior attempt is "pass by reference".
Originally posted by Thomas Paul:
The C# version:
This will print C#.
[ April 23, 2003: Message edited by: Thomas Paul ]