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
What are c++ templates used for?
What is the operator in c++?
What do you mean by translation unit?
Write about the use of the virtual destructor?
Give 10 points of differences between C & C++.
What is null c++?
Which programming language's unsatisfactory performance led to the discovery of c++?
What is pointer to member?
How would you call C functions from C++ and vice versa?
Difference between class and structure.
What is class invariant in c++?
Can I uninstall microsoft c++ redistributable?
What are the 3 levels of programming languages?
Differentiate between a copy constructor and an overloaded assignment operator.
Write a program in C++ for Fibonacci series