Allocation
Allocation means reserving memory space to hold some data.
Related concepts: ValueGarbage Collection
Closest Wikipedia entry: Memory management — Memory management (also dynamic memory management, dynamic storage allocation, or dynamic memory allocation) is a form of resource management applied to computer memory. The essential requirement of memory management is to provide ways to dynamically allocate portions of memory to programs at their request, and free it for reuse when no longer needed. This is critical to any advanced computer system where more than a single process might be underway at any time.
Misconceptions about Allocation13 documented Misconceptions
Check YourselfAddMemberAtRuntime
Set of class members can change at runtimeArrayAllocationWithoutNew
Arrays are created without the new keywordArrayBracketCountIsLength
The number of brackets in an array type or an array initializer corresponds to the length of the arrayArraysGrow
Arrays can grow dynamicallyConstructorAllocates
The constructor allocates the objectConstructorReturnsObject
Constructors need to return objectsConstructorWithoutNew
One can write the constructor name, without new, to instantiate a classObjectsMustBeNamed
A variable is needed to instantiate an objectSuperclassObjectAllocated
When instantiating an object of a subclass, an object of a superclass is also allocated