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
What are the four versions of java?
How do you create a null object?
What are the types of inner classes (non-static nested class) used in java?
Is 0 an even number?
Define array. Tell me about 2-D array.
What is difference between identifier and variable?
What are the 6 boolean operators?
Is vector synchronized in java?
How to create an immutable class?
What is difference between java and java ee?
Implement two stacks using a single array.
Why is stringbuffer called mutable?
What environment variables are required to be set on a machine in order to run Java programs?
How to reverse string in java?
What do you mean by multithreaded program?