Why and when do we use inheritance in C++?

Why and When to use Inheritance in C++? We use inheritance in C++ for the reusability of code from the existing class . C++ Strongly supports the concept of reusability. Reusability is yet another important feature of OOP(Object Oriented Programming).8 Ara 2021

Sizin İçin Seçtik  How do you call a superclass constructor?

Leave a Reply

Your email address will not be published. Required fields are marked *