Design pattern

Abstract Factory Design Pattern

Abstract Factory comes under the classification of creational design patterns. It provides an interface that is used to create dependent or related objects, without specifying the concrete class of the objects that will be created. The components that participate to the Abstract Factory pattern are: AbstractFactory – an interface that is responsible for creating abstract… Continue reading Abstract Factory Design Pattern

Design pattern

Factory Method Design Pattern

Factory Method belongs to the category of creational design pattern. It defines an interface for creating an object, but doesn’t require to specify the exact class of the object that will be created. The creation of object is done by factory method that decides which class should be instantiated. The participants in factory method design… Continue reading Factory Method Design Pattern