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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is finalize()? Is finalize() similar to a destructor?

742


What’s the difference between callable and runnable?

749


How can an object be unreferenced?

753


Is main a keyword in java?

742


Why java doesn’t support multiple inheritances?

785


What is the difference between hashmap and hashtable? What is an interface?

781


Can we inherit a class with private constructor?

798


What is the argument in java?

693


What is the difference between the file and randomaccessfile classes?

806


What is use of super keyword in java?

805


What is a conditional statement explain with example?

764


How are multiple inheritances done in Java?

850


what is the messsage u r going to get from an objectoriented programing?

1889


Why are global variables used?

712


What is the exact difference in between unicast and multicast object? Where we will use?

780