Difference between revisions of "Instantiation"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Definition)
(Definition)
Line 7: Line 7:
 
<syntaxhighlight lang="csharp" line>
 
<syntaxhighlight lang="csharp" line>
 
BLARG
 
BLARG
</syntaxhighliting>
+
</syntaxhighlight>
 
</tabber>
 
</tabber>

Revision as of 12:05, 15 December 2016

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:

1 BLARG