Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


Java is based on pass by reference or pass by value ..

Answers were Sorted based on User's Feedback



Java is based on pass by reference or pass by value ....

Answer / eyal roth

Pass by value.

Is This Answer Correct ?    15 Yes 4 No

Java is based on pass by reference or pass by value ....

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
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

Java is based on pass by reference or pass by value ....

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
means, pass-by-copy-of-
the-variable!

Is This Answer Correct ?    1 Yes 0 No

Java is based on pass by reference or pass by value ....

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

Java is based on pass by reference or pass by value ....

Answer / guest

by reference.

Is This Answer Correct ?    3 Yes 13 No

Post New Answer



More Core Java Interview Questions

How do you convert string to int in java?

0 Answers  


When object is created and destroyed?

0 Answers  


Differences between jdk 1.4 and 1.5

6 Answers   SoftSol, TCS, Wipro,


What carriage return means?

0 Answers  


What is the use of 'super' keyword inside a constructor?

0 Answers   Flextronics, Thomson Reuters, Virtusa,






what is diff bet iterator and enumeration?

4 Answers  


what are the different non-access specifiers in java?

5 Answers  


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

2 Answers   SAP Labs,


How do you pass by reference?

0 Answers  


what is associative array

1 Answers   Tech Mentro,


What is a class component?

0 Answers  


what are the different access specifiers that can be used by interfaces and abstract classes? can anyone give me detailed description on this

11 Answers   IBM, L&T,






Categories