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
What is data member in java?
How do you initialize an arraylist in java?
How do you represent a space in regex java?
What is the implementation of destroy method in java. Is it native or java code?
How is a variable stored in memory?
What is difference between identifier and variable?
What is the primary benefit of encapsulation?
How to change the priority of thread or how to set the priority of thread?
What does 3 dots mean in java?
Define packages in java?
Difference between process and thread?
What do you mean by light weight and heavy weight components?
Which of the following is not an isolation level in the JDBC
What does @override mean?
Can we have two main methods in a java class?