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
When do you call copy constructor?
What is the abstract class?
What is linked hashmap and its features?
Can we override tostring method in java?
What is string variable?
What are facelets templates?
Write code of any action class?
How to sort double array in java?
what is the difference between preemptive scheduling and time slicing? : Java thread
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
Which is illegal identifier in java?
How do you convert an int to a double in java?
What is string args [] in java?
What is arrays sort in java?
What is a singleton factory?