Java is based on pass by reference or pass by value ..
Answer Posted / arun
Java is actually pass-by-value for all variables running
within a single
VM. Pass-by-value means pass-by-variable-value. And that
means, pass-by-copy-of-
the-variable!
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Differentiate storage classes on the basis of their scope?
What is integer parseint?
How to sort list of list in java?
How to use string tokenizer class.
What is the use of default method in interface in java? Explain
What does null mean in java?
Explain when classnotfoundexception will be raised ?
Why we used vector class?
State the merge-sort principle and its time complexity.
What are the advantages of inner classes?
What is the access scope of a protected method?
What is a for loop in java?
What is final access modifier in java?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
Why do we use string?