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
How can you link a c++ program to c functions?
What is the fastest c++ compiler?
What is :: operator in c++?
What are the c++ access specifiers?
What is the difference between set and map in c++?
What is the use of volatile variable?
what are the decision making statements in C++? Explain if statement with an example?
Write a program to find the Fibonacci series recursively.
Explain the concept of friend function in c++?
Define the process of error-handling in case of constructor failure?
What is the difference between the compiler and the preprocessor?
Can I make ios apps with c++?
List the features of oops in c++?
What are the 3 levels of programming languages?
What are references in c++?