A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java object passing
Joined: Nov 01, 2003
Nov 01, 2003 09:56:00
How do you pass an object? As opposed to just passing a reference to it. And when would you need to do this, i.e. when is it not sufficient to just pass a reference?
Joined: Mar 16, 2001
Nov 01, 2003 10:18:00
You only ever get to pass the referance.
Please ignore post, I have no idea what I am talking about.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Java object passing
Passing by value vs. reference
Method parameters passed by reference/value
Difference between pass by reference and passing a copy of the reference by value
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014