CS Electrical And Electronics
@cselectricalandelectronics

What is Abstract Classes?

All QuestionsCategory: Cpp LanguageWhat is Abstract Classes?
CS Electrical And Electronics Staff asked 4 years ago

I need information.

1 Answers
CS Electrical And Electronics Staff answered 4 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.