Creational Patterns are a category of the twenty three Gang of Four (GoF) design patterns which aim at solving design issues related to object creations and effective instantiation based on the situation.
A Factory pattern is a Creational Pattern aimed at solving problems related to object instantiations in large applications which states that the sub classes are responsible for the object creation for a class, and they choose which type of object is required to be created.
In a previous article we have seen how we can provide a multitude of options of concrete implementations and vary dynamically using a Factory pattern. And this is let's look at how can maintain a factory of factories which is called as an Abstract Factory.
Builder pattern is a Creational Pattern which solves the issue of creating a complex object which should result in different representations (variations) based on the requirements.
In our previous articles discussing about Creational patterns, we were looking at how various design patterns solve distinct problems at type creations thereby improving code reusability and performance to some extent. Let's look at yet another creational pattern which solves another unique problem of type instantiations aka the Prototype