+ 9
What is Inheritance
4 Answers
+ 9
Inheritance refers to a feature of Java programming that lets you create classes that are derived from other classes. A class that's based on another class inherits the other class. The class that is inherited is the parent class, the base class, or the superclass.
+ 3
Inheritance is a feature of object oriented programming. It lets you inherit(take) the functions and variables in a class(base class) and use them in another class(derived class) without defining them again in the derived class.
+ 3
simply when a child class inherit properties, and features from a parent class. using C#, this language supports single inheritance between the BASE (parent) class and the DERIVED (child) class.
0
inheritance is the imp feature of c++ from which we can reuse the code insted of retyping it again.
there are mostly 5 types of inheritance..
1.single
2.multiple
3.multilevel
4.herachical
and
5.Hybrid inheritance.