Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Hierarchical inheritance#

Sumit Rawal answered on May 17, 2023 Popularity 8/10 Helpfulness 2/10

Contents


More Related Answers

  • Diamond inheritance
  • Hierarchical Inheritance in Java
  • inheritance
  • Which type of inheritance must be used so that the resultant is hybrid?
  • hierarchical inheritance in c++ employee
  • inheritance
  • Hybrid inheritance#
  • What Is Inheritance?
  • inheritance
  • how to trait inheritance
  • WHAT IS inheritance IN OOAD
  • inheritance'
  • inheritance
  • Why Inheritance?
  • inheritance
  • Inheritance1
  • Inheritance3
  • What is Inheritance?
  • Inheritance
  • inheritance

  • Hierarchical inheritance#

    0

    In hierarchical inheritance, more than one class extends, as per the requirement of the design, from the same base class. The common attributes of these child classes are implemented inside the base class.

    Example:

    A Car IS A Vehicle

    A Truck IS A Vehicle  

    Popularity 8/10 Helpfulness 2/10 Language python
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 17 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.