Class hierarchy The following diagram shows the inheritance hierarchy. Figure 1: C++ inheritance hierarchy