What is an ABC: an "Abstract Base Class"?
Answer / 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 |
Write about the retrieval of n number of objects during the process of delete[]p?
what are the characteristics of Class Members in C++?
If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];
What are the 4 types of library?
What are friend functions?
What is searching? Explain linear and binary search.
How many ways are there to initialize an int with a constant?
What is the C-style character string?
What is protected inheritance?
Explain "const" reference arguments in function?
Why is it called c++?
Explain shallow copy?