Misplaced Pages

Constructor (object-oriented programming): Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactivelyNext edit →Content deleted Content addedVisualWikitext
Revision as of 07:56, 29 August 2004 editDanakil (talk | contribs)2,873 editsNo edit summary  Revision as of 17:54, 17 July 2005 edit undoMecanismo (talk | contribs)Extended confirmed users3,744 edits Starting point.Next edit →
Line 1: Line 1:
In ], a '''constructor''' is a ] which is automatically invoked when the ] is created . It's main purpose is to pre-define the object's data members and therefore initialize the environment where it operates.
#REDIRECT ]

==See also==
*]
*]

==References==
* ]: ''The C++ Programming Language'', Addison-Wesley, ISBN 0-201-70073-5

]

Revision as of 17:54, 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

Category: