Computer Science, asked by rk1805300, 3 months ago

what is inheritance and it's types of inheritance??​

Answers

Answered by soumyasai002
4

Answer:

Inheritance is a mechanism of acquiring the features and behaviors of a class by another class. The class whose members are inherited is called the base class, and the class that inherits those members is called the derived class. Inheritance implements the IS-A relationship.

Answered by Anonymous
2

Answer:

Inheritance

Inheritance refers to the assets that an individual bequeaths to his or her loved ones after he or she passes away. An inheritance may contain cash, investments such as stocks or bonds, and other assets such as jewelry, automobiles, art, antiques, and real estate.

Types of inheritance

  • Single inheritance.
  • Multi-level inheritance.
  • Multiple inheritance.
  • Multipath inheritance.
  • Hierarchical Inheritance.
  • Hybrid Inheritance.

Hope it helps you

Similar questions