-A special kind of function that is defined in a class definition.
-In object orientation programming, function is said to be a method.
Syntax for calling a method-
s="This is class"
#create an object
This is class
-In this program, we create a class and three member functions, then we create an object and called that function
-Here self is use for the binding purpose, when need not to add additional variable to take a argument of the object.