Explain pass by reference and pass by value?

Answer Posted / harsha

Passing the address itself rather than passing the value is
called ?Pass By Reference? and Passing a copy of the value
to be passed is called as ?Pass by Value?.

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string a class in java?

737


In which order the iterator iterates over collection?

785


Explain about the select method with an example?

838


What does substring mean?

712


Explain different states of a thread in java?

812


What variables are stored in stack?

744


What is the += operator called?

806


What modifiers may be used with a top-level class?

798


What is the basic of java?

791


What do you mean by Function Overloading in java?

942


What is the difference between JVM and JRE?

828


What is adapter in java?

716


Where is const variable stored?

708


What is the formula to calculate percentage?

759


Are static members inherited to sub classes?

895