0 votes
in C Plus Plus by
What is Inheritance?

1 Answer

0 votes
by

Inheritance is a process by which we can acquire the characteristics of an existing entity and form a new entity by adding more features to it.

In terms of C++, inheritance is creating a new class by deriving it from an existing class so that this new class has the properties of its parent class as well as its own.

Related questions

+1 vote
+2 votes
asked Jan 21, 2021 in C Plus Plus by SakshiSharma
0 votes
asked Jun 15, 2020 in C Plus Plus by Robindeniel
...