What is the need of abstract class in C ++?

The purpose of an abstract class is to define a common protocol for a set of concrete subclasses . This is useful when defining objects that share code, abstract ideas, etc. Attempts to instantiate an abstract class will always result in a compiler error.

Sizin İçin Seçtik  1 dYdX kaç TL?

Leave a Reply

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