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
What is finalize()? Is finalize() similar to a destructor?
What’s the difference between callable and runnable?
How can an object be unreferenced?
Is main a keyword in java?
Why java doesn’t support multiple inheritances?
What is the difference between hashmap and hashtable? What is an interface?
Can we inherit a class with private constructor?
What is the argument in java?
What is the difference between the file and randomaccessfile classes?
What is use of super keyword in java?
What is a conditional statement explain with example?
How are multiple inheritances done in Java?
what is the messsage u r going to get from an objectoriented programing?
Why are global variables used?
What is the exact difference in between unicast and multicast object? Where we will use?