public abstract string Kuzov(AbstractKuzov kuzov);
public override string Kuzov(AbstractKuzov kuzov) { string k = kuzov.kuzov; return(k); }
public Client(CarFactory car_factory) { abstractCar = car_factory.CreateCar(); abstractEngine = car_factory.CreateEngine(); abstractkuzov = car_factory.CreateKuzov(); }