What is the difference between parameters and arguments?
Answers
Answered by
7
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. Parameter is variable in the declaration of function. Argument is the actual value of this variable that gets passed to function.
Similar questions
English,
7 months ago
English,
7 months ago
Social Sciences,
7 months ago
English,
1 year ago
English,
1 year ago