Java is based on pass by reference or pass by value ..
Answer Posted / dheeraj pareek
Java is purely based on "Pass-by-value".
Variables are passed by value, and in case of Object, object reference is passed by value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is static a singleton?
What is oop in java?
Can we have more than one package statement in source file ?
Why array is used in java?
What is the size of arraylist in java?
How big is a boolean?
How do I run java on windows?
What is the common usage of serialization?
Explain thread life cycle in java?
Why do we use threads in java?
Is space a char?
Is math class static in java?
How do you find the absolute value?
What are the three parts of a lambda expression? What is the type of lambda expression?
What is the use of parse function in java?