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 the base class for error and exception?
Is java written in c?
What do you understand by synchronization?
How to make a write-only class in java?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
What is pojo class in java?
Explain the overview of UDP messaging.
What is difference between overloading and overriding in java?
What is blank final variable?
What are access specifiers available in java?
What is a function argument in java?
What are scalar data types?
What is method overloading and method overriding?
What is the generic class?