Welcome to the InterviewMitra

Difference between pass-by-reference and pass-by-value

0 votes
asked Sep 28, 2012 in Java by jedi (1,500 points)
recategorized Oct 4, 2012 by jedi

What is the main difference between pass-by-reference and pass-by-value?

1 Answer

0 votes
answered Oct 18, 2012 by anonymous

Java only works on pass by value. Please go to below link for details

http://www.woolor.com/InterviewMitra/169/does-java-work-on-pass-by-reference-or-pass-by-value

...