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 / sandeep kumar

a virtual function is a member function that you expect to be redefined in derived class when you refer to a derived class object using a pointer or a reference to the base class, you can call a virtual function for the object and executes the derived class version of the function

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of enum?

964


What does and I oop mean?

1103


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

2075


Why is static class not inherited?

1041


What is inheritance in simple words?

1009


What is encapsulation in oops?

957


What is pointer in oop?

968


What is for loop and its syntax?

1034


What is abstraction oop?

1027


How do you define social class?

1011


What is the importance of oop?

1038


Can bst contain duplicates?

1142


Is abstract thinking intelligence?

979


What is overloading in oops?

1091


Can private class be inherited?

1119