Table of Contents
Third Edition (opens in a new tab) by Joshua Bloch
Chapter 02 Creating and Destroying Objects
- Item 01: static factory
- Item 02: builder
- Item 03: enum singleton
- Item 04: private constructor
- Item 05: dependency injection
- Item 06: prefer primitives
- Item 07: memory leak
- Item 08: no finalizer
- Item 09: try with resource