Misplaced Pages

Constructor (object-oriented programming)

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.

This is an old revision of this page, as edited by Mecanismo (talk | contribs) at 18:20, 17 July 2005 (stubbified). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 18:20, 17 July 2005 by Mecanismo (talk | contribs) (stubbified)(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 . It's main purpose is to pre-define the object's data members and therefore initialize the environment where it operates.

See also

References

Stub icon

This computing article is a stub. You can help Misplaced Pages by expanding it.

Categories: