Following are some advantages of inheritance.1. No need to write code from scratch. You can start coding with existing classes.
2. Through inheritance you can very easily convert small system into large systems
3. You can lots of classes with the same root but have different implementations of classes.
4. Code reusablity through inheritance increased.
5. Good at representing the objects6. Inheritance provide a clear model structure which is easy to understand without muchcomplexity.
7. code are easy to manage and divided into parent and child classes.