Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How is an Abstract Base Class(ABC) related to an "Abstract
Data Type" (ADT)

Answers were Sorted based on User's Feedback



How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)..

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

How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)..

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

Post New Answer

More C++ General Interview Questions

What are the defining traits of an object-oriented language?

0 Answers  


What are C++ inline functions?

1 Answers  


Define vptr.

0 Answers  


find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.

0 Answers  


What is a syntax in c++?

0 Answers  


What do you mean by overhead in c++?

0 Answers  


Differentiate between realloc() and free().

0 Answers  


What is an Object/Instance?

1 Answers  


class HasStatic { static int I; }; Referring to the sample code above, what is the appropriate method of defining the member variable "I", and assigning it the value 10, outside of the class declaration? a) HasStatic I = 10; b) int static I = 10; c) static I(10); d) static I = 10; e) int HasStatic::I = 10;

1 Answers   Quark,


What is helper in c++?

0 Answers  


What is #include cmath?

0 Answers  


What do you mean by vtable and vptr in c++?

0 Answers  


Categories