According to me the "passing by value" would mean using the line below:-
int i = 9;
Coders usually pass int i into a method like:
method(i) Passing by reference means exactly passing its location like :
Class.method.variable
and it will give out the value. Could anybody please help me out?