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 the virtual function overhead, and what is it used
for ? i hope i can get and appropriate answers, thanks a lot....

Answer Posted / d n gavade

We use Virtual function as Dyanamic Polymorphism.
i.e run time we can passed referencr of derived class into
base class pointer and call the derived class method.Thi
sis its benefit.

But Virtual destructor is also needed when we use virtual
constructor other wise it will cause memory leaks.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an interface inherit a class?

1024


What does I oop mean?

1030


Write a program to sort the number with different sorts in one program ??

2332


What is property in oops?

1006


What are the data types in oop?

1056


explain sub-type and sub class? atleast u have differ it into 4 points?

2271


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

2140


What is oops?what is its use in software engineering?

989


What is balance factor?

1023


Why it is called runtime polymorphism?

1066


What is object-oriented programming? Webopedia definition

1201


What is a class in oop?

1060


How to call a non virtual function in the derived class by using base class pointer

6440


how to get the oracle certification? send me the answer

2122


What are the 5 oop principles?

1080