How is an Abstract Base Class(ABC) related to an "Abstract
Data Type" (ADT)
Answer Posted / sujith
An ADT is a concept. I agree with that. basic example a
class itself.
But Abstract Base Class is something which has a pure
virtual function in that. That means, u cannot create an
objext of this class. But what is possible is, this class
can be inherited and u can have a pointer of this class and
have runtime polimorphism.
In simple terms, all classes that contain at least one pure
virtual function are abstract base classes.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
which of the following is not an secondary constant a) array b) real c) union
What is c++ in english?
How will you call C functions from C ++ and vice-versa?
Is c++ a good beginners programming language?
What is purpose of abstract class?
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)
Will c++ be replaced?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
What is c++ 11 and c++ 14?
What is a float in c++?
What is recursion?
What is #include iostream?
What is scope in c++ with example?
what you know about c++?
Explain function overloading