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 namespace in java?
What is the purpose of extern variable?
What are the new features in java 8?
What is string array?
Why does java does not support multiple inheritance? Explain
What does @param args mean in java?
What is a stack class in java ?
Is array serializable java?
Can a class have multiple superclasses?
Which is better singleton or static class?
What is OOP's Terms with explanation?
What are basic data types?
What are the different ways of creating thread?
Explain about sets?
What is the use of static methods?