+ 1

Argument vs parameter

what is the difference between an argument and a parameter?

13th Feb 2017, 1:16 PM
Mich
Mich - avatar
2 Answers
+ 15
A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method's parameters.
13th Feb 2017, 5:58 PM
soumya
soumya - avatar
0
They are both same🎯
13th Feb 2017, 2:32 PM
Akash Patel
Akash Patel - avatar