Explain pass by reference and pass by value?
Answer Posted / harsha
Passing the address itself rather than passing the value is
called ?Pass By Reference? and Passing a copy of the value
to be passed is called as ?Pass by Value?.
Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
Can we return null in java?
What are the differences between this and super keyword?
What is the generic class?
Explain about core java?
What is Major and importance difference between for and foreach loop ?
What is multithreading and its advantages?
How do you create a sop?
What are scalar data types?
Can we have two methods in a class with the same name?
How to find the index of the largest number in an arraylist java?
What are the super most classes for all the streams?
What is size () in java?
Implement a stack with push (), pop() and min() in O(1) time.
Explain method overloading?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread