Java is based on pass by reference or pass by value ..
Answer Posted / dheeraj pareek
Java is purely based on "Pass-by-value".
Variables are passed by value, and in case of Object, object reference is passed by value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many types of string data types are there?
How a string is stored in memory?
What is a superclass?
What are namespaces in java?
What are the different types of collections in java?
What is an object in java and how is it created?
How do you create a sop?
How do you compare characters in java?
Is void a data type?
Name four container classes.
Can you start a thread twice in Java?
What is default exception handling in java?
What is the difference between dom and sax parser in java?
In how many ways we can create threads in java?
How can you share data between two thread in Java?