By lokeshgupta1981
via howtodoinjava.com
Submitted: Mar 06 2013 / 02:33
There has been a good amount of debate on whether “java is pass by value or pass by reference?”. Well, lets conclude it last time, Java is pass by value and not pass by reference. If it had been pass by reference, we should have been able to C like swapping of objects, but we can’t do that in java. We know it already, right?
Add your comment