Explain pass by reference and pass by value?
Answer Posted / aravind
Pass By Reference:
Passing the reference of the variable or object. In java
objects are passed by reference.
Pass By Value:
Passing the copy of the value. In java primitives are
passed by value.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is meant by polymorphism?
What is data object example?
Is 0 a prime number?
What is the difference between int and integer in java?
Is it possible to write a regular expression to check if string is a number?
What is executor memory?
What is java volatile?
What is stringjoiner ?
Why do we need data structure in java?
Give us the name of the list layoutmanagers in java?
how its run?
Explain the key functions of data binding?
Does java isempty check for null?
How can I debug the Java security exceptions and AccessControlExceptions?
What are "class access modifiers" in Java?