![]() Topic awaiting preservation: Java pass by reference? (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() 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 |
![]() Java is 'pass by value', |
Paranoid (IV) Inmate From: Milwaukee |
![]() 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 |
![]() this is not 100% correct: |