SE450
:
The FACTORY METHOD Pattern
[21/55]
Solution
Define a creator type that expresses the commonality of all creators.
Define a product type that expresses the commonality of all products.
Define a method, called the factory method, in the creator type.
The factory method yields a product object.
Each concrete creator class implements the factory method so that it returns an object of a concrete product class.