What is the difference between a method and a function? Is it that a method returns a value and a function doesn\'t?
We define method inside class , we define function out side class, function is not part of class