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
Why super is first line in java?
What is difference between class and object in java?
which class is the wait() method defined in? : Java thread
What are the advantages and disadvantages of object cloning?
Explain the importance of join() method in thread class?
What is use of a abstract variable?
What is stringjoiner ?
What is the similarity between dynamic binding and linking?
Is java hard to learn?
What do you know about the garbage collector in java?
What is the size of string?
What is Java Shutdown Hook?
Write a program to find maximum and minimum number in array?
What is fail fast in java?
What are data structures in java?