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 are the 8 primitive data types in java?
what are the high-level thread states? : Java thread
What is api data?
Explain about varargs in java?
Name few java util classes introduced with java 8 ?
What is the final blank variable?
What restrictions are placed on method overloading?
What does || mean in vectors?
What are controls and their different types in awt?
What is the difference between declaration and definition in java?
What is a cup of java?
Which class is the superclass for every class in java programming?
Does java list allow null?
What is the difference between class forname and new?
How do you compare characters in java?