public void Run()
 {
     abstractCar.MaxSpeed(abstractEngine);
 }
Example #2
0
 public int GetMaxSpeed()
 {
     return(c.MaxSpeed(e));
 }
 public int RunMaxSpeed()
 {
     return(abstractCar.MaxSpeed(abstractEngine));
 }