Reference Types

Reference types contain addresses of dynamic blocks of memory that are stored on the Heap
This memory block changes size depending on the applications requirements.
All classes are reference types.
A reference is a variable that refers to the location on the heap
The reference acts like an alias for the object.


String - is based on a class


Object - is based on a class
Becauase this can hold anything it is always late-bound


Array - is based on a class



© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopPrevNext