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

Answer Posted / poonam

Virtual function is a function that uses keyword "virtual"
with the datatype of the function. When the base class as
well as the derived class contains a function both having
the same name, just to resolve ambiguity and copy of the
same data again and again we use the keyword "virtual"
preeceeding it. It is used to achieve poymorphism.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

class type to basic type conversion

2340


Explain the advantages of inheritance.

1080


Why do we use oops?

962


what is graphics

2405


What is the difference between inheritance and polymorphism?

1051


How oops is better than procedural?

1031


What is object in oops?

1024


What is the benefit of oop?

1000


What are the types of abstraction?

999


What is difference between data abstraction and encapsulation?

1035


What is polymorphism give a real life example?

976


What are properties in oop?

1025


write a programe to calculate the simple intrest and compund intrest using by function overlading

2133


What do you mean by Encapsulation?

1028


why reinterpret cast is considered dangerous?

2337