Creational Design Patterns Factory Method Abstract Factory Builder Prototype Singleton Object Pool CDP - Factory Method Synopsis: Need for a class for reuse with arbitrary…