Factory Method

  1. Describe how Factory Method often is used to implement one of the algorithm's steps in the Template Method pattern.
  2. Discuss how Factory Method is useful to connect parallel, related class hierarchies.
  3. Describe how the template mechanism of C++ can be used to avoid subclassing when using factory methods.