Explain pass by reference and pass by value?
Answer Posted / harsha
Passing the address itself rather than passing the value is
called ?Pass By Reference? and Passing a copy of the value
to be passed is called as ?Pass by Value?.
| Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
Difference between throw and throws?
I want to persist data of objects for later use. What’s the best approach to do so?
What language is pass by reference?
Explain about core java?
How will you reverse a singly-link list?
What do you know about java?
Can we have any code between try and catch blocks?
What are java threads?
How do you create an array in java?
What is polymorphism in java? What are the kinds of polymorphism?
Which is best ide for java?
What is javac used for?
What is generic class?
What are the Class Libraries ?
What is an class?