Wednesday, February 25, 2009

Methods

Methods are associated with objects, and define the actions they carryout for their object.

For Example:

The methods of your radio are on, off, volume control etc, Which give you control on your radio.Each Method performs a particular action. Method is an action that an object is capable of performing.

For example:

list boxes have methods called AddItem, RemoveItem and Clear, for maintaining list contents.

No comments: