Exercise 3: Displaying Message Using Virtual Functions
Display information about two base classes by using virtual functions.
We'll cover the following...
We'll cover the following...
Problem statement
We will first build three classes: Mammal (parent class), Dog (derived class) and Cat (derived class). The Dog and Cat class will inherit from Mammal.
In the exercise, implement these classes with the following characteristics:
...