[Tutor] passing objects

Isaac Hall hall@nhn.ou.edu
Tue, 2 Apr 2002 12:16:28 -0600


I was wondering something about passing objects to class methods or functions.
when you pass an object (lets just say its really large, so this kind of
matters) to a function or class method, is the entire object copied again in
memory, or is it referenced.  and if it is copied, is there a way to only pass
a reference to the original object?

thanks 
Ike