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
What is a numeric string?
What is the use of optional ?
Explain the difference between treeset and treemap in java?
Is it possible to override the main method?
Is alive method in java?
Differentiate between array list and vector in java.
How many types of classes are there in java?
What is main in java?
What is final method?
What are the ways to instantiate the class class?
What is the difference between @before and @beforeclass annotation?
What is the SimpleTimeZone class?
What are "class access modifiers" in Java?
Is arraylist a class in java?
What is the meaning of variable in research?