Instantiation

From TRCCompSci - AQA Computer Science
Revision as of 12:05, 15 December 2016 by Mohkale (talk | contribs) (Definition)
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> BLARG </syntaxhighliting>