Design Patterns Java™ Workbook

(Michael S) #1
Chapter 16. Factory Method

behavior. FACTORY METHOD lets you connect parallel hierarchies by letting subclasses in one
hierarchy determine which class to instantiate in the corresponding hierarchy.

Free download pdf