Challenge: Create an Abstract Class and Derive Classes from It
Create an abstract class, derive two classes from it, and then call the methods using objects of derived classes.
We'll cover the following...
Create an abstract class called Vehicle
that contains the methods speed()
, maintenance()
, and value()
. Derive classes ...