0

please explain, what is value?

Does value mean the parameter we enter?

14th Jan 2018, 7:06 AM
Anatolii Tcai
Anatolii Tcai - avatar
1 Odpowiedź
+ 6
the value is what is given to the parameter heres a very basic example public int method(int parameter, int parameter2){ return parameter*parameter2; } //main //creating object of class object.method(5,10); //<-- given value
14th Jan 2018, 9:55 AM
D_Stark
D_Stark - avatar