next up previous contents index
Next: Components of a constructor Up: Message Passing Pattern Previous: Instance of a class   Contents   Index


Constructors

In most object oriented programming languages, classes are defined by special constructs and the constructor generates an object according to the class definition. These languages can also be labelled `class oriented'.

In A++ however, classes are defined entirely by constructors, which like in other languages creates objects as instances of the specific class.

\includegraphics[scale=0.85]{img/objdemo1a.eps}


Subsections

domain access counter Georg P. Loczewski 2004-03-05