Explain pass by reference and pass by value?

Answer Posted / aravind

Pass By Reference:
Passing the reference of the variable or object. In java
objects are passed by reference.

Pass By Value:
Passing the copy of the value. In java primitives are
passed by value.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is argument in java?

768


What is a loop java?

802


Explain when noclassdeffounderror will be raised ?

819


Explain the difference between call by refrence and call by value?

792


How do you identify if jvm is 32-bit or 64-bit from java program?

734


Why is method overloading not possible by changing the return type in java?

786


What do you mean by inner class in java? Explain

810


which pattern is default in scanner package?

2003


What is collections framework?

845


What are nested classes in java?

817


How the interruptible method gets implemented?

745


What is a Presistent Object?

929


Explain about OOPS concepts and fundamentals.

811


How is java created?

729


What is the core java?

723