What is the difference between arguments and parameters?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the International Renewable Energy Agency, Lives in Abu Dhabi, UAE.
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.
2023-05-14 12:30:25
评论(499)
Helpful(122)
Helpful
Helpful(2)

Isabella Hall
QuesHub.com delivers expert answers and knowledge to you.
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.