QuesHub > 参数 > 方法 > 变量 > ASK DETAIL

What is the difference between arguments and parameters?

Benjamin White | 2023-05-05 12:30:25 | page views:1741
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Felix Brown

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

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.
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4