To infer about how the reference types are passed to a method and what is the outcome.
Introduction
In developer fraternity, passing of reference type as a parameter to a method is always a topic of hot discussion. The two issues namely (i) passing the parameters (ii) type of parameters are always taken for one another and mostly it is concluded that the passing mechanism doesn't make any difference to reference type parameters. It seems true to most of developers but actually it's not complete truth. Let's see how it works. We all know that by default all parameters are passed by value.
No comments:
Post a Comment