Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
A derived class is a class that has inherited member variables and member functions from a base class.
The code below shows how an Animal is used as a base class and Cat and Dog are derived classes (of Animal).
#include <iostream> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.
This page has been created by the tool CodeToHtml