Hello there!
im currently working on a program wich amongst others involves problem-tree solution. Now i have some questions..
When i pass an object as an argument to a function or method, is a new copy of that object created or is is just a reference that is getting passed ?
How do i do to create a copy of an object instead of passing references ??
im currently working on a program wich amongst others involves problem-tree solution. Now i have some questions..
When i pass an object as an argument to a function or method, is a new copy of that object created or is is just a reference that is getting passed ?
How do i do to create a copy of an object instead of passing references ??