Explain pass by reference and pass by value?
Answer Posted / aravind
Pass By Reference:
Passing the reference of the variable or object. In java
objects are passed by reference.
Pass By Value:
Passing the copy of the value. In java primitives are
passed by value.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Does java support multiple inheritance or not?
What modifiers may be used with a top-level class?
What are the drawbacks of singleton class?
What is the functionability stubs and skeletons?
What is the Concept of Encapsulation in OOPS
Can we create a constructor in abstract class?
What isan abstract class and when do you use it?
Variables used in a switch statement can be used with which datatypes?
What is a protected method?
How do you create a null object?
What do you mean by hashing?
Which is faster set or list in java?
What is difference between pointer and reference?
What is a java string?
What is parseint?