Factory and Abstract Factory Pattern

Factory Pattern: When a method returns instance one of several possible classes on runtime, bases on input parameters. All these classes must share a common super class.

Factoy Pattern falls under Creational Design Pattern. Continue reading “Factory and Abstract Factory Pattern”