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

Do I need to import java.lang package any time? Why?

1064


Under what conditions is an object’s finalize() method invoked by the garbage collector?

799


Why set is used in java?

779


What do you understand by garbage collection in Java? Can it be forced to run?

769


How do you create immutable object in java?

800


How do you reverse a string in java?

870


Is set ordered?

752


What does opcode mean?

782


What is the difference between method and means?

818


What do you mean by object?

736


Can we increase array size dynamically in java?

726


what is deadlock? : Java thread

756


What is the reflection?

790


What is import java util arraylist?

892


Explain java coding standards for classes or java coding conventions for classes?

886