//Use the Builder Pattern.
//The Runner class creates an instance of the FactoryDirector class, and creates instances of the different Builder classes.
DirectorFactory director = new DirectorFactory();
ScooterBuilder scooterBuilder = new ScooterBuilder();
VehicleBuilder vehicleBuilder = new VehicleBuilder();
MotorCycleBuilder motorcycleBuilder = new MotorCycleBuilder();
director.Construct(scooterBuilder);
scooterBuilder.Product.DisplayProduct();
director.Construct(vehicleBuilder);
vehicleBuilder.Product.DisplayProduct();
director.Construct(motorcycleBuilder);
motorcycleBuilder.Product.DisplayProduct();