nTo specify a derived class, we define the class as we learned but we also add the base class' name as part of the derived class' definition.
nWe don't need to alter
the base classes to specify which classes
are derived from them.
nFor public
derivation where derived is the
name of the derived
class and base is the name of the base class:
n
nclass checking : public
account //derivation
n{
n public:
n ...
n};
n