Since the GeneralTree class is derived from the Tree base class, its interface comprises all of the public interfaces of the base classes. Furthermore, two member functions are added to the inherited interface--AttachSubtree, and DetachSubtree.
Since the GeneralTree class is a concrete class derived from the an abstract base class, it must provide implementations for all of the member functions declared as pure virtual functions in the base class. In the interest of brevity, the declarations of these functions have been elided from Program .