Explain pass by reference and pass by value?

Answer Posted / dsr

The changes made in formal parameters will reflet to the
actual parameters.This is Known as pass by value.
The changes made in formal parameters will not reflet to
the actual parameters.This is Known as pass by reference.
java is completely pass by value.

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the base class for error and exception?

551


Is java written in c?

538


What do you understand by synchronization?

588


How to make a write-only class in java?

571


A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.

536






Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

552


What is pojo class in java?

534


Explain the overview of UDP messaging.

731


What is difference between overloading and overriding in java?

525


What is blank final variable?

561


What are access specifiers available in java?

575


What is a function argument in java?

513


What are scalar data types?

524


What is method overloading and method overriding?

536


What is the generic class?

529