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 in c++

Answer Posted / hemin_sdek@yahoo.com

IT'S OVERRIDING A BASE CLASS DEFINITION AT RUN TIME.MEMBER
FUNCTION IN BASE CLASS AND DERIVED CLASS IS SAME. NORMALLY
IT INVOKE THE BASE CLASS DEFINITION IF BOTH FUNCTION NAME
IS SAME.BUT WE NEED TO ACCESS THE DERIVED CLASS DEFINITION
WE GO FOR VIRTUAL FUNCTION

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is coupling in oops?

1065


Where You Can Use Interface in your Project

1834


why reinterpret cast is considered dangerous?

2336


What is variable example?

980


What is abstraction in oop?

1084


write a program that takes input in digits and display the result in words from 1 to 1000

2369


What is a function in oop?

1018


Why is polymorphism needed?

1001


What is the problem with multiple inheritance?

1094


Is react oop?

1013


Why is encapsulation used?

947


What are functions in oop?

996


hi all..i want to know oops concepts clearly can any1 explain??

2080


What is this pointer in oop?

999


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1809