Jump to content

Destructor (computer programming)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mecanismo (talk | contribs) at 17:57, 17 July 2005 (starting point). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In object-oriented programming, a destructor is a method which is automatically invoked when the object is destroyed. It's main purpose is to clean up and to free the resources which were acquired by the object along it's life cycle.

See also

References