Revision as of 17:54, 17 July 2005 editMecanismo (talk | contribs)Extended confirmed users3,744 edits Starting point.← Previous edit | Revision as of 18:20, 17 July 2005 edit undoMecanismo (talk | contribs)Extended confirmed users3,744 editsm stubbifiedNext edit → | ||
Line 9: | Line 9: | ||
] | ] | ||
{{compu-stub}} |
Revision as of 18:20, 17 July 2005
In object-oriented programming, a constructor is a method which is automatically invoked when the object is created . It's main purpose is to pre-define the object's data members and therefore initialize the environment where it operates.
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. |