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


Please Help Members By Posting Answers For Below Questions

How do you delete a list in java?

739


What is lexicographically smallest string?

825


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?

1040


What is stringwriter?

741


Can you override a final method?

795


What are disadvantages of java?

757


What is 16 bits called?

715


What is a prefix function.write down a code to compute prefix function.

785


Can we change the value of static variable?

716


why Java does not support multiple inheritances?

926


What is the use of string and stringbuffer?

776


What is the synchronized method modifier?

865


What is the generic class?

717


How many java versions are there?

760


Is upper case in java?

745