The Factory Method

  • Kelt Dockins


Define an interface for creating an object, but let subclasses decide which class to instantiate. The factory method lets a class defer instantiation to subclasses.


Factory Method Product Class Abstract Class Vegetable Garden Abstract Factory 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Kelt Dockins 2017

Authors and Affiliations

  • Kelt Dockins
    • 1
  1. 1.DolphUSA

Personalised recommendations