Explain pass by reference and pass by value?

Answer Posted / srikanth doki

Passing the reference of the variable rather than passing
the value is known as Pass-by-reference and Passing the copy
of value is known as Pass-by-value.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can make copy of a java object?

659


Does substring start with 0?

560


What is the relationship difference the canvas class and the graphics class?

567


Can you explain the cs option of java interpreter?

509


Where are variables stored?

556






How do you sort in descending order in java using collections sort?

506


What is the gregoriancalendar class in java programming?

574


What is the difference between object oriented programming language and object based programming language?

560


Is 0 true or is 1 true?

520


What does nextint () do in java?

554


Explain method local inner classes ?

597


Why are the destructors for base class and derived class called in reverse order when the program exits

1712


What is a package in java? List down various advantages of packages.

762


Why local variables are stored in stack?

503


What is method and methodology?

608