in C Plus Plus by

What is Inheritance? What is the purpose?

1 Answer

0 votes
by

The idea of inheritance is simple, a class is based on another class and uses data and implementation of the other class.
The purpose of inheritance is Code Reuse.

...