Introduction to OOP
Chapter 5: Messages Instances and Initialization:
Because in most languages objects are dynamically allocated, they must be recovered at run-time. There are two broad approches to this:
Force the programmer to explicitly say when a value is no longer being used:
delete aCard; // C++ example
system that will automatically determine when values are no longer being used, and recover the memory.
, Slide 08