Factory Method – Tutorial and Example
What is Factory Method? Factory method is a creational pattern that helps in abstracting the process of object creation. What this means is that the class that uses the object is not necessarily the class that instantiates the object. In fact, the class that uses the object has absolutely no idea about the exact type … Read more