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 do you delete a list in java?
What is lexicographically smallest string?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
What is stringwriter?
Can you override a final method?
What are disadvantages of java?
What is 16 bits called?
What is a prefix function.write down a code to compute prefix function.
Can we change the value of static variable?
why Java does not support multiple inheritances?
What is the use of string and stringbuffer?
What is the synchronized method modifier?
What is the generic class?
How many java versions are there?
Is upper case in java?