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 string length in java?
What is the collections api?
List out benefits of object oriented programming language?
What is e in java?
What is constructor and virtual function? Can we call a virtual function in a constructor?
What are generic methods?
What is ‘has a’’ relationship in java?
Write a java program to check if a number is prime or not?
What is difference between java and java ee?
Why is string builder not thread safe?
What does || mean in vectors?
What is use of inner class in java?
What is synchronization and why is it important in java programming?
What happens to a static var that is defined within a method of a class?
What is a “stateless” protocol ?