What is the difference between a method and a function? Is it that a method returns a value and a function doesn\'t?
Function is a generic term to be used in procedural programming approach where as Method is a term to be used in Object oriented programming approach to define a class property.