Where does func comes from | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Where does func comes from

Where does that "func" in parentheses comes from? When using a function as an argument in oop

3rd Sep 2022, 5:55 AM
kenneth Collins okoye
kenneth Collins okoye - avatar
2 Answers
+ 7
What do you mean? Post some code
3rd Sep 2022, 6:21 AM
Slick
Slick - avatar
+ 2
kenneth Collins okoye When you pass function as an argument 'func' is just user defined which is a short of 'function' Example: https://code.sololearn.com/cgfonDJu8pH0/?ref=app
3rd Sep 2022, 9:06 AM
A͢J
A͢J - avatar