View contents of this chapter

Objects

Effective Visual Basic 6 programming is based on the concept of objects. An object is a distinct unit in a program that has certain properties and can perform certains actions.

Play Sound An object is a special type of variable that stores data and manipulates that data by passing messages to itself.

Play Sound Properties are data that describe an object.

Following are the characteristic that all objects have in common:

  • Each object is a self contained unit. The existence of one particular object is not dependent on the existence of another.
  • Although individual objects are unique, each object can be identified as belonging to a particular classification through properties.
  • Objects respond to certain predefined events.
  • Object can interact with each other and with the outside world in a prededined manner.
  • Although each object behaves in a different way, many of the things objects know how to do can be given the same name.

 



© Universal Teacher Publications        INDEX Previous Screen Next Screen