Topic awaiting preservation: Java pass by reference? (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 02-06-2004 00:14
Hey all, I'm working on my first real java project and I'm running into a question. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 02-06-2004 15:29
Java is 'pass by value', |
Paranoid (IV) Inmate From: Milwaukee |
posted 02-07-2004 21:40
Someone correct me if I'm wrong about this. code: // create new instance of ExampleObject
code: // copy the reference (but NOT making a copy of the object)
code: thatObject = new ExampleObject();
|
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 02-07-2004 22:10
this is not 100% correct: |