Tuesday, November 27, 2012

Journey through Function to Method ....part _2

sorry this article is still  in phase of development 
Method:
In object-oriented programming, a method is a subroutine (or procedure) associated with a class. Methods define the behavior to be exhibited by instances of the associated class at program run time. Methods have the special property that at runtime, they have access to data stored in an instance of the class (or class instance or class object or object) they are associated with and are thereby able to control the state of the instance.The association between class and method is called binding. A method associated with a class is said to be bound to the class. Methods can be bound to a class at compile time (static binding) or to an object at runtime (dynamic binding).

·      1 Simple methods
·      2 Abstract methods
·      3 Accessor and mutator methods
·      4 Class methods
·      5 Conversion operator methods
·      6 Hook methods
·      7 Overloaded methods
·      8 Overridden methods
·      9 Special methods
·      9.1 Constructors
·      9.2 Destruction
·      9.3 Copy-assignment operators
·      9.4 Operator methods
·      10 Static methods
·      11 Virtual methods

No comments:

Post a Comment