Chapter Summary


The following information was included in this chapter:

  • discussion of automatic garbage collection, including the workings of the garbage collector and guidelines for facilitating garbage collection

  • discussion of object finalization and chaining as part of garbage collection

  • discussion of static and instance initializers, both as initializer expressions and as initializer blocks

  • the role played by initializers in initializing objects, classes, and interfaces