+ 3

How can we implement call by value and call by reference in java?

Difference between call by reference and call by value

10th Aug 2020, 3:36 PM
PUJA CHOURSIYA
PUJA CHOURSIYA - avatar
2 odpowiedzi
+ 1
a reference can also be used as an argument, but an address of an object is copied, so in the java it is called the "value" of the reference
11th Aug 2020, 6:11 AM
zemiak