Why do we use abstract class in C?

The purpose of an abstract class is to provide a blueprint for derived classes and set some rules what the derived classes must implement when they inherit an abstract class . We can use an abstract class as a base class and all derived classes must implement abstract definitions.24 Şub 2022

Sizin İçin Seçtik  What is abstract class function?

Leave a Reply

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