Explain inheritance and its types
The eduladder is a community of students, teachers and programmers just interested to make you to pass any exams. So we solve previous year question papers for you.
See Our team
Wondering how we keep quality?
Got unsolved questions?

Ask Questions

Use Me  ?

New searches
Model-Question-Paper--PROGRAMMING-IN-C-AND-DATA-STRUCTURES--14PCD1314PCD23-->View question

Explain inheritance and its types.

Explain in detail.

By:mmodi1995

Taged users:
|yetuhg|Vinesh|batsam22

Likes:
|mmodi1995|prabhat2346

Dislikes:
Be first to dislike this question
Talk about thisDelete|Like|Dislike|


Answers

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.
Types:

  1. Single Inheritance
  1. Multiple Inheritance
  1. Hierarchical Inheritance
  1. Multilevel Inheritance
  1. Hybrid Inheritance


thegdx

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer
Talk about this|Once you have earned teacher badge you can edit this questionDelete|Like|Dislike|
------------------------------------

Can you help us to add better answer here? Please see this



Not the answer you're looking for? Browse other questions from this Question paper or ask your own question.

Eduladder magazine is out there subscribe!