This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Java object passing" Watch "Java object passing" New topic
Author

Java object passing

Liz Costelloe
Greenhorn

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: 965

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Java object passing
 
Similar Threads
Difference between pass by reference and passing a copy of the reference by value
String Doubt
Method parameters passed by reference/value
Passing by value vs. reference
Array