Java implementation of the Abstract Factory Pattern which basically is a factory class structure for returning other factories. In this example the "Regular Shape" and the "Rounded Shape" represent separate object structures with their own factory class. The "FactoryCreator" is the abstract factory since it returns either a rounded-shape-factory or a regular-shape-factory.
Top comments (0)