+ 7
What is the difference between a parameter and an argument?
They're both a function thing no? how do they operate and what do they do?
2 odpowiedzi
+ 4
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.
+ 1
Here. This is nice picture that explains it.
https://i.stack.imgur.com/ZohYJ.jpg