Inheritance in C++
Inheritance in C++ is basically the ability for a class to be able to derive its properties from a different class. It is the most important feature of object oriented programming and allows –
- High code re-use
- Lesser time to code
- Easier to maintain application and edit codes
- Re-use pre-defined properties and data