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 Pure Virtual Function? Why and when it is used ?

Answer Posted / guest

The abstract class whose pure virtual method has to be
implemented by all the classes which derive on these.
Otherwise it would result in a compilation error.
This construct should be used when one wants to ensure that
all the derived classes implement the method defined as
pure virtual in base class.

Is This Answer Correct ?    77 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a vector c++?

1116


What is the use of :: operator in c++?

1078


How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?

1101


What is different in C++, compare with unix?

1030


Where is atoi defined?

1083


What is a class definition?

1032


Explain what data encapsulation is in c++?

1051


What are single and multiple inheritances in c++?

1054


Is c++ free?

1058


What is the difference between delegation and implemented-in-terms-of?

970


What is the use of volatile variable?

1041


What is difference between rand () and srand ()?

1054


How do you declare A pointer to a function which receives nothing and returns nothing

1191


How do I use turbo c++?

951


Give 10 points of differences between C & C++.

1096