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


Please Help Members By Posting Answers For Below Questions

How can you link a c++ program to c functions?

718


What is the fastest c++ compiler?

663


What is :: operator in c++?

682


What are the c++ access specifiers?

911


What is the difference between set and map in c++?

718






What is the use of volatile variable?

682


what are the decision making statements in C++? Explain if statement with an example?

747


Write a program to find the Fibonacci series recursively.

708


Explain the concept of friend function in c++?

710


Define the process of error-handling in case of constructor failure?

656


What is the difference between the compiler and the preprocessor?

720


Can I make ios apps with c++?

654


List the features of oops in c++?

659


What are the 3 levels of programming languages?

629


What are references in c++?

764