A factory method pattern is a creational pattern. It is used to instantiate an object from one among a set of classes based on a logic. Assume that you have a set of classes which extends a common super class or interface. Now you will create a concrete class with a method which accepts one […]
Published to Creational Design Pattern Tutorial on 05/11/2009.