Inheritance is a key feature of Object-Oriented Programming (OOP) in C++
It allows a class (called the derived class) to inherit properties and behaviors from another class (called the base class).
This promotes code reuse, modularity, and extensibility.
Single Inheritance
Multiple Inheritance
Multilevel Inheritance
Hierarchical Inheritance
Hybrid (Virtual) Inheritance