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
Is minecraft 1.15 out?
is it possible to instantiate the math class?
What is an immutable class?
Give a practical example of singleton class usage?
What is variable and its types?
Is string is a data type in java?
Can an abstract class be a final class?
What is the difference between superclass and subclass?
what state does a thread enter when it terminates its processing? : Java thread
In a container there are 5 components. I want to display all the component names, how will you do that?
What the difference is between execute, execute Query, execute Update?
What are the 3 types of control structures?
Can we create an object of private class?
Explain what is encapsulation?
Can I declare class as static or private?