previous |
start |
next
The FACTORY METHOD Pattern
Context
- A type (the creator) creates objects of another type (the
product).
- Subclasses of the creator type need to create different kinds
of product objects.
- Clients do not need to know the exact type of product
objects.
previous |
start |
next