+1 vote
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.

Related questions

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