Private and public derivations:
class derived : private base //private derivation
{
members of derived
};
class derived : public base //public derivation
{
members of derived
};
class derived : base //private derivation by default
{
members of derived
};