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
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What causes memory leaks in java?
Can we have multiple classes in single file ?
what is difference between equals and ==?
What is string builder?
What is difference between arraylist and list in java?
What is an array length?
What is the transient keyword?
Does apple use java?
Can finally block be used without a catch?
Can singleton class be inherited in java?
Explain where variables are created in memory?
Is null false in java?
What is the this keyword?
What are the drawbacks of singleton class?