This is an old revision of this page, as edited by Lt-wiki-bot (talk | contribs) at 07:04, 6 November 2005 (robot Adding: lt). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 07:04, 6 November 2005 by Lt-wiki-bot (talk | contribs) (robot Adding: lt)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)In object-oriented programming, a constructor is a method which is automatically invoked when the object is created. Its main purpose is to pre-define the object's data members. A properly written constructor will leave the object in a 'valid' state.
See also
References
- Bjarne Stroustrup: The C++ Programming Language, Addison-Wesley, ISBN 0-201-70073-5
This computing article is a stub. You can help Misplaced Pages by expanding it. |