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 ? | 18 Yes | 2 No |
Post New Answer View All Answers
How to create an immutable class?
Explain what access modifiers can be used for methods?
Why collection is called framework in java?
What is the difference between preparedstatement and statement in java?
What is the difference between iterator and enumeration ?
What is meant by anonymous class?
Describe string intern() methodology
How can we make a class singleton?
Why arraylist is not synchronized in java example?
What is an example of a constant variable?
What is the reason behind using constructors and destructors?
How do I print a “?
What is the difference between logical data independence and physical data independence?
Is space a string in java?
What is the difference between hashmap and hashtable in java?