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 dot operator?
Is c better than java?
What is the concept of multithreading?
What is private static in java?
Can we have any code between try and catch blocks?
What is a java string?
What is the size of a string in java?
What is sortedmap in java?
Is java 11 paid version?
What is balanced tree in java?
Write a program in java to find the maximum and minimum value node from a circular linked list.
Explain about join() method?
Explain the purpose of garbage collection in Java?
How do you override a variable in java?
Can a abstract class be declared final?