The Factory Method pattern is the one you use when you want to say “give me a transport,” not “new Truck()” or “new Ship()”. It defines an interface for creating objects but lets …