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 do you mean by pure virtual functions?

Answer Posted / madhu

A pure virtual function tells the compiler that only
declaration is done here and it guarantees that function
definition will be done in the immediate class where object
is created.
It tells the user what it intended to do and without giving
complete details. And the pure virtual function will not
allow the user to create object and leads to abstract class.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can enum be null?

963


What is a null tree?

1077


What are properties in oop?

1023


Why is abstraction needed?

977


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1923


Which method cannot be overridden?

1015


Can abstract class have normal methods?

991


Why is oop better than procedural?

1021


What is the diamond problem in inheritance?

1072


How do you achieve polymorphism?

1037


What is destructor oops?

1034


is there any choice in opting subjects like 4 out of 7

2131


Why do we use encapsulation in oops?

970


What exactly is polymorphism?

1072


How do you use inheritance in unity?

1024