What is the difference between a method and a function? Is it that a method returns a value and a function doesn\'t?
The difference between the expressions "method" and "function" is that a "method" is a member function of a class, whereas a standalone function does not, and a standalone function usually exists in global context.