Enlist diffrent types of Inheritance supported by Java?

NamLEE
NamLEE

Posted On: Apr 11, 2020

 

The various kinds of inheritance supported by Java.

  • Single Inheritance: Single Inheritance is the easy inheritance of all, while a group lengthens another group (Simply one class) then one calls it as Single inheritance.
  • Hierarchical Inheritance: In Hierarchical inheritance, one mother group will be received by multiple subclasses.
  • Multilevel Inheritance: In Multilevel Inheritance, a derived group will be inheriting a mother group and as also as the derived group performance as the mother group to other groups.
  • Hybrid Inheritance (Through Interface): Hybrid Inheritance is the mixture of both Multiple and Single Inheritance.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions