A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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.
subject: Java object passing
Method parameters passed by reference/value
Difference between pass by reference and passing a copy of the reference by value
Passing by value vs. reference
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014