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


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.

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


Subsections

Georg P. Loczewski 2004-03-05


Impressum und Datenschutz