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 steps involved to create a bean?
What is an anonymous class in java?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
Which sorting is used in arrays sort in java?
Why are lists ordered in java?
What is widening and narrowing in java? Discuss with an example.
What is java util hashmap?
What is the transient keyword?
How to change the priority of thread or how to set priority of thread?
What is api data?
Why are parameters used in functions?
What is the instance of an object?
What are examples of modifiers?
What is a bubble sort in java?
What is a treemap in java?