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 a pure virtual function?

Answer Posted / glibwaresoftsolutions

• A function declared with = 0 in a base class, making it abstract. Example:
• virtual void display() = 0;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State two differences between an object and a class.

1096


What is a subclass?

1017


What is a default method? Why do we need default methods in java 8 interfaces?

1040


What do you mean by "explicitly implemeting an interface". Give an example?

995


What is sealed modifiers?

999


Difference between encapsulation and data hiding ?

879


Is it possible to override private virtual methods?

968


How many methods are there in the serializable interface?

935


What is the main use of message metaphor in object-oriented programming?

1169


What is the use of interface?

1045


What is the difference between an abstract class and interface in java?

985


What is the difference between an Abstract class and Interface?

1030


How to differentiate between a CreateObject() and GetObject() ?

1001


What's the benefit of using inheritance?

1098


Difference between class and an object?

959