Creational design patterns
1. Abstract factory pattern 2. Builder pattern 3. Factory method pattern 4. Prototype pattern 5. Singleton pattern Factory method pattern - we create object without exposing the creation logic to the client. We're going to create a Shape interface and concrete classes implementing the Shape interface. A factory class ShapeFactory is defined as a next step. Abstract factory pattern - Abstract Factory patterns work around a super-factory which creates other factories. This factory is also called as factory of factories. One more label wrapper of factory pattern Builder patte...