Instantiation

From TRCCompSci - AQA Computer Science
Revision as of 12:04, 15 December 2016 by Mohkale (talk | contribs) (Created page with "=Instantiation= ==Definition== :Instantiation is the process of allocating a block of memory to a new object instance. Instantiation is the direct process of declaring a new o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Instantiation

Definition

Instantiation is the process of allocating a block of memory to a new object instance. Instantiation is the direct process of declaring a new object by ClassName, giving it an identifier Name, and in some cases passing initalisation arguments to the new object. For Example:

<syntaxhighlight lang="csharp" line>

</syntaxhighliting>