Challenge 1: Implement the Derived Class
Can you Implement the Derived Class function by using the Base Class functions? A solution is placed in the "solution" section to help you, but we would suggest you try to solve it on your own first.
We'll cover the following...
Problem Statement
Implement a function getDetails(String carName)
of the Derived Class Car
which takes a string carName
and appends it with model, name, and speed. ...