+ 4
method is function??
3 Respostas
+ 7
In simple words, a method is a function that belongs to an object.
For more information study OOP concepts.
+ 2
Yep ^^
The method is exactly a function but in classes, they're the owners of that "function". Just that class can call it.
+ 1
Sébastien you are referring out good but I think you are losing out the concept it is object actually not class