adspace
What is meant by pass by reference and pass by value in java?
Answer Posted / Swati Sharma
In Java, there is no pass by reference. However, it uses pass by value for both primitive types (passed as their actual values) and objects (passed as the object's memory address).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we extract main method from another class?
What is the java api?
What is the first argument of the string array in main method?
What do you understand by casting in java language? What are the types of casting?
What if I write static public void instead of public static void?
What is the locale class?
How does java handle integer overflows and underflows?
Are jvm’s platform independent?
what is reflection api? How are they implemented?
What is the resourcebundle class?