Revision as of 13:33, 18 August 2005 editJogloran (talk | contribs)Extended confirmed users2,008 editsmNo edit summary← Previous edit | Revision as of 18:01, 11 October 2005 edit undo68.125.168.193 (talk)No edit summaryNext edit → | ||
Line 4: | Line 4: | ||
*] | *] | ||
*] | *] | ||
*] | |||
==References== | ==References== |
Revision as of 18:01, 11 October 2005
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. |