2075 6

Object Oriented Programming20755 marksTypes of inheritance

Briefly explain types of inheritance used in object oriented programming.

Briefly explain types of inheritance used in object oriented programming. [5]

Inheritance is one of the key features of Object Oriented Programming that allows a new class (derived/child class) to acquire the properties and behaviors of an existing class (base/parent class)., "through inheritance, we can eliminate redundant code and extend the use of existing classes." ---...

Up nextCreate a real scenario where static data members are useful. Explain with suitable program