Fifth International World Wide Web Conference
Storage Management
- All instances of classes and arrays are allocated via
new
- Resultant objects are managed by a garbage collector
- No free or delete statement (or facility)
- Memory only released when there are no existing references to it
- Reference set to another instance or set to
null
Java - An Introductory Language Tutorial
(E.A.Johnson)