Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes  pass by value and pass by reference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark " pass by value and pass by reference" Watch " pass by value and pass by reference" New topic
Author

pass by value and pass by reference

MohamedSalim malik
Greenhorn

Joined: Feb 04, 2011
Posts: 19
What is really mean by pass by value and pass by reference. Is java using both methods. How can we identify these two methods. and what is the most appropriate method?
Can anyone help me please with a example.. thank you. :
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Check this FAQ.


[My Blog]
All roads lead to JavaRanch
MohamedSalim malik
Greenhorn

Joined: Feb 04, 2011
Posts: 19
Thank you. :
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38046
    
  22
Lots of people get confused about that; have a look at this old discussion.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pass by value and pass by reference
 
Similar Threads
pass by reference
pass by reference and value
pass by reference Vs pass by value(URGENT)
pass by reference
pass-by-reference and pass-by-value