2. The concept of inheritance and
hierarchy are closely related.
Hierarchy : hierarchy is
defined as ranking or ordering
of abstraction.
.An introduction.
3. Inheritance is the most
important kind of hierarchy
and is the essential part of
object-oriented systems.
The most general class is the
base class and the derived
class.
4. Base class:
The base class defines all
property that will be common to any
derived data.
*derived class:
the derived class inherits
those general properties of base
class and adds properties that are
specified to the class.
Base and derived class