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
Is null function in java?
How infinite loop is declared?
What is xslt in java?
What is rule of accessibility in java?
When will we prefer to use set and list in java and why?
What one should take care of, while serializing the object?
Which data type is class in java?
How do you sort arrays in java?
What is the final variable?
How we can generate random numbers in java?
What are streams in java 8?
What is the difference between hashmap and hashtable in java?
What is the method to expand and collapse nodes in a jtree?
What are memory tables?
What is the use of predicate in java 8?