just4mailing
2011-07-11 10:08:00 UTC
(Please read this complete)
anybody please explain me with the help of simple example that what java passing by reference actally do ?
i know that , if a variable is passed, the method receives a copy of the variable's value.
The value of the original variable cannot be changed within the method. (pass by value)
but what does that statement mean ?
please explain with an example and don't copy anything from google, just provide me with your own simple and easy to understand example.,
thankyou