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 object a data type in java?
What are the important methods of java exception class?
What about abstract classes in java?
State some situations where exceptions may arise in java?
What is a newline character in java?
What is remote method invocation (rmi)?
How long will it take to learn java?
What is java reflection?
What is the syntax and characteristics of a lambda expression? Explain
What are the types of methodology?
How variables are declared?
Define an enumeration?
What is the difference between compiler and jvm?
Which is the class in java?
What is difference between java and java ee?