Answer Posted / rohit sah
An Abstract Base Class is a class that is not intended to be instantiated itself. Rather, it is intended strictly for use as a base for other classes. To prevent instantiation, an ABC will typically contain at least one pure virtual function.
The point of an ABC is to separate the interface of a group of classes from the implementation of the functions that make up the interface. This allows other code to ignore differences in how these functions are carried out. An ABC creates a contract between its descendants and any other code that uses them. The descendants must implement a certain set of functions. Code that uses them must use those functions to access whatever it is the object involved represents.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the full form of ios?
Which ide is best for c++?
What do you mean by vtable and vptr in c++?
What does count ++ do in c++?
What is the use of turbo c++?
Write a program using display() function which takes two arguments.
State the difference between delete and delete[].
Why is c++ still used?
What can c++ be used for?
What is heap sort in c++?
Do we have to use initialization list in spite of the assignment in constructors?
What is the full name of logo?
What is virtual destructor ans explain its use?
Why was c++ made?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?