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
Write a program to find the reverse Fibonacci series starting from N.
What do you mean by translation unit?
What is data type in c++?
What are guid?
Define token in c++.
what are the events occur in intr activated on interrupt vector table
Differences between private, protected and public and give examples.
Is c++ low level?
Why do we use classes in c++?
What is the difference between a baller and a reference in C++?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
How much maximum can you allocate in a single call to malloc()?
What is increment operator in c++?
Write a function to find the nth item from the end of a linked list in a single pass.
What is the difference between the functions memmove() and memcpy()?