Question: Only answer when you are 100% sure else down voted multiple times Please specify why option is correct and why other options are not correct
Only answer when you are 100% sure else down voted multiple times
Please specify why option is correct and why other options are not correct hope you understand else downvote


Select a correct subclass definition that inherits the following Car class: class Car: def__init__(self, make, model, year): self.make = make self model = model self.year = year self.odometer_reading =0 II Notice the extra syntax in the class line! class ElectricCar(Car): det__init___(self, make, model, year, size): " Call the superclass_init_ first super0._init__(make, model, year) \# Then do any "specialized" initialization self. battery_size = size \#Notice the extra syntax in the class line! class ElectricCar: def _init__(self, make, model, year, size: \# Call the superclass_init_first super0._init_(make, model, year) \# Then do any "specialized" initialization self.battery_size = size \# Notice the extra syntax in the class line! class ElectricCar(Car): def_init_(self, size): \# Call the superclass _. init _. first supert). init_ 0 \# Then do any "specialized" initialization self.battery_size w size \# Notice the extra syntax in the class line! class ElectricCar(Car): def init_(self, make, model, year, size): \# Call the superclass _ init_ first _ _init__ (make, model, year) \# Then do any "specialized" initialization self, battery_ size = size
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
