Applied Design Patterns with Java

Creational :: Builder (97) {C ch 7}

Example - UML : wealthBuilder


Example - Java :: Patterns\Creational\Builder

Pattern Concept: to separate the construction of a complex object from its representation, so that many different representations can be created. In essence, a Builder pattern constructs objects from components, and it has these consequences:

The example Java program is called 'wealthBuilder'. Note that is example is a dual pattern; it also uses a Factory pattern.

The UML diagram is above, and the list of Java files is below:

Catalog Creational Prev Next