Hi,
I've a question regarding Pass by value/Pass by reference.
Please see the sample I tried.
Here after calling the method callme() with pbv as the object, when I print the value of Price and Value, it prints 300 and 400 instead of 100,200.
My doubt is that if it is pass by value, the value should be 100,200 no? Can anybody explain why ?
Thanks,
Rex