Changes

Jump to: navigation, search

Object Oriented Programming with Visual Basic

438 bytes removed, 18:14, 8 August 2007
What is sub-classing?
Much as a blueprint or architect's drawing defines what an item or a building will look like once it has been constructed, a class defines what an object will look like when it is created. It defines, for example, what the ''methods'' will do and what the ''member'' variables will be.
== What is sub-classing? ==
It is possible to build classes that are derived from other classes, extending the functionality of the parent class to make it specific to a particular requirement. For example you might have a ''vehicle'' class which contains the attributes common to all vehicles, and a subclass called ''car'' which inherits all the generic ''vehicle'' attributes but adds some its own car specific methods and properties.
== Defining a Visual Basic Class ==

Navigation menu