Practising Object Passing in Java

mostfunnyvideo
3 Views
When we pass a primitive type to a method, it is passed by value. But when we pass an object to a method, the situation changes dramatically, because objects are passed by what is effectively call-by-reference. Java does this interesting thing that's sort of a hybrid between pass-by-value and pass-by-reference.

Latest Videos

Partner Program Latest Videos Terms of Service About Us Copyright Cookie Privacy Contact