Content deleted Content added
minor |
other minor |
||
Line 156:
== Call by reference ==
Note that call by reference doesn't apply just to primitive types, as it might seem at first sight. Variables in Java which are not of primitive types hold a reference to an instance, and since all method calls pass arguments by value, the reference held by the variable is passed, since that is
A non-pragmatic but straight example in C#:
|