Inheritance is a relationship among classes, wherein one class shares the structure or behavior defined in one (single inheritance ) or more (multiple inheritance) other classes. Inheritance defines a "kind of" hierarchy among classes in which a subclass inherits from one or more superclasses; a subclass typically augments or redefines the existing structure and behavior of its superclasses.