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
I want to persist data of objects for later use. What’s the best approach to do so?
Is java programming easy?
What Is Query Throttling in java?
Is minecraft 1.15 out?
How does list work in java?
Which is better list or arraylist in java?
How do you sort a string in java?
What is the declaration statement?
Explain what is Marker interface?
What are the 5 types of research methods?
What is lexicographically smallest string?
How do generics work?
What is fundamental datatype?
What are different types of control structures?
What is void class in java?