Jump to content

Comparison of programming languages (object-oriented programming)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Btx40 (talk | contribs) at 15:04, 8 April 2008 (Created page with '{{ProgLangCompare}} _TOC_ {{-}} == Object creation and destruction == {| class="wikitable" |- ! ! creation ! destruction |- | C++ (STL) | ''...'). 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)

_TOC_

Object creation and destruction

creation destruction
C++ (STL) class variable =[ new] class(parameters); delete variable;
C# class variable = new class(parameters); variable.Dispose();
Java variable.dispose();
Visual Basic .NET Dim variable As New class(parameters) variable.Dispose()