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
Do I need to import java.lang package any time? Why?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
Why set is used in java?
What do you understand by garbage collection in Java? Can it be forced to run?
How do you create immutable object in java?
How do you reverse a string in java?
Is set ordered?
What does opcode mean?
What is the difference between method and means?
What do you mean by object?
Can we increase array size dynamically in java?
what is deadlock? : Java thread
What is the reflection?
What is import java util arraylist?
Explain java coding standards for classes or java coding conventions for classes?