Department of Computer Science, The University of Akron
Factory Method
Factory Method
A class pattern that defines an interface for creating an object, but let subclasses decide which class to instantiate, lets a class defer instantiation to subclasses.