public string BodyType(AbstractBody body) { return(body.BodyType); }
public Client(CarFactory car_factory) { abstractCar = car_factory.CreateCar(); abstractEngine = car_factory.CreateEngine(); abstractBody = car_factory.CreateBody(); }