Factory Method

Home > Computer Science > Software Engineering > Software design patterns > Factory Method

The Factory Method is a creational design pattern that provides an interface for creating objects, and allows subclasses to decide which class to instantiate.