0

What is the arguments in functions. What is a method.

23rd Jun 2019, 1:24 PM
Abhyodaya Dubey
2 Réponses
+ 1
The arguments in a function are values that the function can access. If you make a function that draws a square, you need to specify where the square is drawn and the value is put in an argument. A method is a function that belongs to an object. https://en.wikipedia.org/wiki/Object_(computer_science)
23rd Jun 2019, 1:31 PM
tiberiu
tiberiu - avatar
+ 1
Abhyodaya Dubey, please start one of the tutorials available here - it's all explained there.
23rd Jun 2019, 3:18 PM
HonFu
HonFu - avatar