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 are the topics in core java?
How do you sort a list in java?
Name few java.lang classes introduced with java 8 ?
What is numeric function?
What are data types in oop?
What is a line break?
Which java version is latest?
Explain the difference between intermediate and terminal operations in java8?
How can we find the sum of two linked lists using stack in java?
What is meant by class?
Should you use singleton pattern?
Can substring create new object?
Can a static method be overridden in java?
What is string substring?
What is a double?