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
What is super?
How is abstraction implemented in java ?
How to create an interface?
What is use of super keyword?
What are local variables?
What are the restriction imposed on a static method or a static block of code?
How transient variable is different from volatile variable?
Explain the difference between call by refrence and call by value?
What is split return?
List primitive java types?
Can we define private and protected modifiers for variables in interfaces?
What is scanner in java?
How to declare objects of a class ?
What access modifiers can be used for class ?
What is the difference between logical data independence and physical data independence?