Well, originally I had a couple of constants (like MAX_SPEED) with different values in every of the derived classes. The idea was to use those values in some methods of the
One more option is to make child class constructor as static , so that it executes first than parent class constructor. but it not preferable it violates the oop design