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

what is the difference between process and thread? : Java thread

559


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

1593


Why is java so popular?

629


What is the purpose of using the java bean?

566


What are thread local variables?

546






How do you define a parameter?

576


What are the wrapped, classes?

597


when you will synchronize a piece of your code? : Java thread

527


Is arraylist ordered?

559


Can we sort hashmap in java?

524


Explain abstract class in java?

552


What is the significance of continue jump statement? Explain with an example.

737


What’s the difference between constructors and other methods?

527


How do I enable java in safari?

542


Can you declare the main method as final?

521