in C Plus Plus by
Q:

What is Inheritance? What is the purpose?

▼ Show 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.

Learn More with Madanswer

Related questions

+1 vote
+1 vote
+1 vote
+1 vote
asked Jul 16, 2019 in C Plus Plus by Indian
+1 vote
+1 vote
...