Tag: factory design pattern

Factory Design Pattern

Factory Design Pattern: (Singleton Design Pattern here) What is Factory Design Pattern? We need to define an interface or abstract class to create an object and we allow the subclasses…