Methods and events

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 Read More »

Events

A major part of interaction between people in every day life is in the form of events and response. For Example When some one knocks at the door, then you open the door.Knocking at door is event and opening the door is response to the event. In technical words an event is an user action …

Events Read More »