Java is based on pass by reference or pass by value ..
Answer Posted / venkatesh
Java supports both Pass By Value and Pass By Reference
Pass By Value: In Java method pass value , changed value is
visible within a method, it will not effect outside of the
method
Pass By Reference: Pass Java Object in method , changed
value will be available outside of method also.
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
Is string is a data type?
Why are arrays useful in java?
What is a pattern what is an anti pattern?
Explain the difference between abstract class and interface in java?
What is difference between jdk,jre and jvm?
Is it possible to override private or static method in java?
Explain about exception propagation?
What is temp in java?
Why vector class is used?
What are the steps that are followed when two computers connect through tcp?
Explain the Propertie sof class?
What does bitwise or mean?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Can you explain the cs option of java interpreter?
How do listeners work?