ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

Call by value and call by reference

In java, when primitive data types are supplied in the method calling, it is call by value.
--If the parameters of the method are of class type, it is call by reference.
--Only references are passed  as the parameters to the method, not the object.
Related Posts Plugin for WordPress, Blogger...
Flag Counter