This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Java object passing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java object passing" Watch "Java object passing" New topic

Java object passing

Liz Costelloe

Joined: Nov 01, 2003
Posts: 17
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?
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

You only ever get to pass the referance.

Please ignore post, I have no idea what I am talking about.
I agree. Here's the link:
subject: Java object passing
It's not a secret anymore!