Hi Everyone,
What is the difference between method and function?
Can someone provide a simple explanation of methods and functions?
Good for the beginners.
Thanks,
John
Difference between a method and a function
Ask by John Smith
Updated 20 Jul 2015
In Simple Words
Function — a set of instructions that perform a task
Method — a set of instructions that are associated with an object.