Content deleted Content added
Call by reference |
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
A non-pragmatic but straight example in C#:
|