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 about static nested classes in java?
Can a final variable be manipulated in java?
How to sort numbers in java without array?
What does the append?
How objects of a class are created if no constructor is defined in the class?
What is the purpose of checked and unchecked exceptions in JAVA?
What is treeset and treemap in java?
What is parse method?
What is oop in java?
Can a class have multiple superclasses?
What are the problems faced by java programmers who don't use layout managers?
What's the base class in java from which all classes are derived?
How many types of design patterns are there?
What happens when heap memory is full?
What is a void method java?