Update page 'Day 7 homework - Sloejtes'
@@ -148,8 +148,7 @@ class Bike(Vehicle):
|
|||||||
|
|
||||||
* The `Car` and `Bike` classes inherit from `Vehicle` and define the non-abstract methods and properties that are specific to each object. The `num_wheels` property and `start` method are implemented differently in each class.
|
* The `Car` and `Bike` classes inherit from `Vehicle` and define the non-abstract methods and properties that are specific to each object. The `num_wheels` property and `start` method are implemented differently in each class.
|
||||||
|
|
||||||
**##### Implementation:
|
**Implementation:**
|
||||||
**
|
|
||||||
```
|
```
|
||||||
obj_car=Car()
|
obj_car=Car()
|
||||||
obj_bike=Bike()
|
obj_bike=Bike()
|
||||||
|
|||||||
Reference in New Issue
Block a user