Factory Design Patterns and Open-Closed Principle (OCP), the ‘O’ in SOLID
Factory Design patterns are Creational patterns and deals with how the objects are created. There are three design patterns, namely, Simple Factory, Factory Method and Abstract Factory design patterns. All these patterns hide the object creation process from the client and supply the objects without specifying the exact class of object that will be created.… Read More »