What is the difference between pass by reference and pass by
value?
Answer Posted / subha raman
In case of pass by value..the change in the sub-function
will not cause any change in the main function wheareas in
pass by reference..the change in the sub-function will
change the value in the main function..
| Is This Answer Correct ? | 57 Yes | 9 No |
Post New Answer View All Answers
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Why do pointers exist?
What is data binding in oops?
Why is static class not inherited?
What is the oops and benefits of oops programming?
What is use of overloading?
What is property in oops?
Can we override main method?
Why is encapsulation used?
What polymorphism means?
Why multiple inheritance is not allowed?
Can bst contain duplicates?
What is the benefit of oop?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
i got a backdoor offer in process global,Bangalore..Can i work with it?