4 ms·
>Extending the animal class to make a car would be weird though. Carriage extends Animal with Cart Car implements Carriage with Engine as Animal
by qbrass 11y ago
>Extending the animal class to make a car would be weird though.
Carriage extends Animal with Cart
Car implements Carriage with Engine as Animal
- hidroto 10y agoThat sounds more like composition then inheritance.