How is an Abstract Base Class(ABC) related to an "Abstract
Data Type" (ADT)
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest
An ADT is a concept - the basic idea of a data type that
doesn't specify how the data type is implemented.
An ABC is a method C++ provides for creating an ADT.
| Is This Answer Correct ? | 0 Yes | 1 No |
implement stack using stack.h headerfile functions
1 Answers Exilant, GMG, Subex, University,
Write about an iterator class?
How do I get good at c++ programming?
What does count ++ do in c++?
Write about the stack unwinding?
You run a shell on unix system. How would you tell which shell are you running?
What is an orthogonal base class in c++?
What is the role of copy constructor in copying of thrown objects?
Can union be self referenced?
write a program that a 5 digit number and calculates 2 power that number and prints it.
2 Answers Vimukti Technologies,
What is volatile and pragma? When they are used?
Differentiate between C and C++.