Factory - Abstract Factory
Creates families of related objects without specifying class names, by defining an interface for object creation and leaving it up to the subclasses to decide which objects to create.
createProductA()
createProductB()
ConcreteFactoryA
createProductA()
createProductB()
createProductA()
createProductB()
ConcreteFactoryB
ProductA1
ProductA2
ProductA1
ProductA2
Previous slide
Next slide
Back to first slide
View graphic version