Explain pass by reference and pass by value?
Answer Posted / srikanth doki
Passing the reference of the variable rather than passing
the value is known as Pass-by-reference and Passing the copy
of value is known as Pass-by-value.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How do you clear a method in java?
What are the different ways of creating thread?
What is double in java?
What are thread local variables?
Explain the difference between extends thread vs implements runnable in java?
Can we store variables in local blocks?
What are the types of collections in java?
What is the difference between the direct buffer and non-direct buffer in java?
What's the base class in java from which all classes are derived?
What is class level lock ?
Write a program based on Java script program.
How variables are stored in memory?
Where is the find and replace?
How do weakhashmap works?
How do you override a method?