Java is based on pass by reference or pass by value ..
Answers were Sorted based on User's Feedback
Answer / eyal roth
Pass by value.
|Is This Answer Correct ?||15 Yes||4 No|
Answer / 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
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|
Answer / arun
Java is actually pass-by-value for all variables running
within a single
VM. Pass-by-value means pass-by-variable-value. And that
|Is This Answer Correct ?||1 Yes||0 No|
Answer / 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|
Answer / guest
|Is This Answer Correct ?||3 Yes||13 No|
How do you convert string to int in java?
When object is created and destroyed?
Differences between jdk 1.4 and 1.5
What carriage return means?
What is the use of 'super' keyword inside a constructor?
what is diff bet iterator and enumeration?
what are the different non-access specifiers in java?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion
How do you pass by reference?
what is associative array
What is a class component?
what are the different access specifiers that can be used by interfaces and abstract classes? can anyone give me detailed description on this