public void AccelerateTest() { CarInfo a = null; //new FlyingCar(); AirplaneInfo b = null; //new FlyingCar(); a.Accelerate(100); b.Accelerate(200); }