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

Get Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.