Question: Write the code in C++ programming language! And make sure to explain thoroughly each line of the code with comments for good understanding! Exe 4.4.3

Write the code in C++ programming language! And make sure to explain thoroughly each line of the code with comments for good understanding!
Exe 4.4.3 (2 points). Create the abstract class Animal. The abstract class should be inherited by the Cat, Dog, and Bird classes. Each derived class should have the Name () method which prints the name of the animals (classes). Create the STL list container consisting of pointers to the Animal class and the pointers should randomly refer to the Cat, Dog, and Bird objects. Print the animal names (Name ()) by accessing the pointers stored in the container
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
