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...


What is an ABC: an "Abstract Base Class"?



What is an ABC: an "Abstract Base Class"?..

Answer / rohit sah

An Abstract Base Class is a class that is not intended to be instantiated itself. Rather, it is intended strictly for use as a base for other classes. To prevent instantiation, an ABC will typically contain at least one pure virtual function.

The point of an ABC is to separate the interface of a group of classes from the implementation of the functions that make up the interface. This allows other code to ignore differences in how these functions are carried out. An ABC creates a contract between its descendants and any other code that uses them. The descendants must implement a certain set of functions. Code that uses them must use those functions to access whatever it is the object involved represents.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is the best c++ ide?

0 Answers  


How can we read/write Structures from/to data files?

0 Answers  


What are Virtual Functions? How to implement virtual functions in "C" ?

3 Answers  


What is c++ 11 and c++ 14?

0 Answers  


What do you mean by abstraction. Explain your answer?

5 Answers  


How can a struct in c++ differs from a struct in c?

0 Answers  


What are the benefits of pointers?

0 Answers  


What is the use of cmath in c++?

0 Answers  


without if else statement can be written ah

0 Answers  


What are the strengths of C++?

1 Answers  


Describe Trees using C++ with an example.

0 Answers  


Explain what are accessor methods?

0 Answers  


Categories