Java is based on pass by reference or pass by value ..
Answer Posted / sanket mehta
Java does not support call by reference because in call by reference we need to pass the address and address are stored in pointers n java does not support pointers and it is because pointers breaks the security. Java is always pass-by-value. Pass by reference in java means the passing the address itself
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
why Java does not support multiple inheritances?
Is set ordered in java?
Can we inherit a class with private constructor?
What is the difference between a break statement and a continue statement?
What is the difference between final, finally and finalize() in java?
What is adapter in java?
How listener identify that the event came from a particular object?
How to sort a collection of custom Objects in Java?
What do you mean by append?
What is a constructor, constructor overloading in java?
Which java ide is used the most?
How do you know if a value is nan?
Write a java program to generate fibonacci series ?
Difference between object instantiation and construction ?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.