Functions in JAVA(Call by value & Call by reference)

Pubblicato il: 10 agosto 2021
sul canale di: AKD Classes
35
3

#callbyvalue #callbyreference
Call by Value means calling a method with a parameter as value. Through this, the argument value is passed to the parameter.

While Call by Reference means calling a method with a parameter as a reference. Through this, the argument reference is passed to the parameter.

In call by value, the modification done to the parameter passed does not reflect in the caller's scope while in the call by reference, the modification done to the parameter passed are persistent and changes are reflected in the caller's scope.

In this video, both these parts are explained separately.


In questa pagina del sito puoi guardare il video online Functions in JAVA(Call by value & Call by reference) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato AKD Classes 10 agosto 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 35 volte e gli è piaciuto 3 spettatori. Buona visione!