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 are c++ redistributables?

1038


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

1140


What are static variables?

1136


How is modularity introduced in C++?

1209


What is stream and its types in c++?

1055


When do we run a shell in the unix system?

1075


How would you find out if a linked-list is a cycle or not?

1004


In a function declaration, what does extern mean?

1061


What is object in c++ example?

1106


What is c++ used for in games?

1164


What is a modifier in c++?

1139


Are c and c++ similar?

1049


What is command line arguments in C++? What are its uses? Where we have to use this?

1269


What do you mean by function overriding & function overloading in c++?

1178


What is an adjust field format flag?

1110