Question: 3. Suppose there are three interface called named Bus, Car, Truck. It will contain members such as length, weight, price etc. It will have methods

3. Suppose there are three interface called named Bus, Car, Truck. It will contain members such as length, weight, price etc. It will have methods such as accelerate(), brake() etc. There are a class called Vehicle. Now, Implement the interface and show how could we obtain multiple inheritance from above scenario
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
