Explain pass by reference and pass by value?
Answer Posted / vikas
Pass-by-value means, Passing a copy of the value.
Pass-by-reference means, instead of passing the actual
value, the address(of the value) is passed.
| Is This Answer Correct ? | 19 Yes | 2 No |
Post New Answer View All Answers
What is the covariant return type?
What is style and indentation?
What is super in java?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
What is deserialization?
What does it mean that strings are immutable?
What is the java project architecture?
What languages are pass by reference?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
Explain about instanceof operator in java?
How to make object serializable in java?
Which method must be implemented by all threads?
Which is better list or arraylist in java?
Can we declare a static variable inside a method?
Can you create an object of an abstract class?