by Dinesh Thakur

When values of built in types are passed as arguments to a function. It is known as Call by value. The changes made to formal parameters in the called function are not reflected in the actual arguments class.

Call by Reference:

In this approach, an object is passed as an argument, which is assigned to an object reference are directly reflected to actual argument.