You are here: Home / Topics / Differentiate call by value and call by reference ?

Differentiate call by value and call by reference ?

Filed under: JAVA Interview Questions on 2022-07-02 16:06:34

Call by value: 
A process in which the values of the actual parameters sent by the calling function are copied to the formal parameters of the called function.

Call by reference: 
A process in which the parameters of a calling function are passed to the parameters of the called function using an address.

About Author:
V
Vishal Gupta     View Profile
Hi, I am Vishal Gupta. I like this Website for learning MCQs. This website is good for preparation.