What is Abstract Classes?

All QuestionsCategory: Cpp LanguageWhat is Abstract Classes?
Chetan Shidling Staff asked 5 years ago

I need information.

1 Answers
Chetan Shidling Staff answered 5 years ago

An abstract class is one that is not utilized to create any objects of its own but it only exists to act as a base class for other classes that means the abstract class must be a part of some inheritance hierarchy.

or

The abstract class means which contains data members and member functions using which no objects are created is called an abstract class. An abstract class is made only to act as a base class so that other classes can inherit these member functions and data members.