File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes pass by value vs reference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "pass by value vs reference" Watch "pass by value vs reference" New topic

pass by value vs reference

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Hi All,

please any one can explain me the difference between pass by value and pass
by reference...

Thanks & regards,
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

This FAQ should help.

[My Blog]
All roads lead to JavaRanch
Anubhav Anand
Ranch Hand

Joined: May 18, 2007
Posts: 341

I found a couple of good links. Please see this link..
This is a wonderful link.

PS. Well this should better suit the beginner's forum.
[ April 08, 2008: Message edited by: Anubhav Anand ]
I agree. Here's the link:
subject: pass by value vs reference
It's not a secret anymore!