What does overriding an inherited method mean in these Python examples?
TourBus inherits Vehicle. Its initializer calls Vehicle's initializer, then sets self.seats = 28. Vehicle initializes wheels and defines refuel. What does the resulting TourBus have?
Vehicle defines refuel. Bus inherits Vehicle and does not define refuel. In this single-parent example, bus.refuel() uses Vehicle's version.
Circle one: True False
Inside a TourBus.refuel override, which expression calls the inherited Vehicle.refuel before adding receipt text?
Bus overrides trip_info but inherits refuel from Vehicle unchanged. A Bus object calls both. Which definitions handle the calls?
Ferry(Vehicle) defines __init__ that calls super().__init__() and assigns self.decks. It also defines its own refuel. Which change does this implement?
Bird.fly() promises actual flight. Penguin overrides it to return success without flying. Penguin is still a bird. Which design avoids making it promise flight?
RoadVehicle promises that change_lane() moves between road lanes. An Airplane model supports only airborne travel. It is proposed as a RoadVehicle child to reuse trip_info. What is the problem?