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
Where must the declaration of a friend function appear?
What is rvalue?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
Why do we learn c++?
Can the creation of operator** is allowed to perform the to-the-power-of operations?
What is the difference between global variables and local variable
Should I learn c or c++ or c#?
What does the nocreate and noreplace flag ensure when they are used for opening a file?
How do you clear a buffer in c++?
What are guid?
What is flag in computer?
What is static in c++?
Differentiate between late binding and early binding. What are the advantages of early binding?