File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!