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 / ann

A virtual function is a function which is preceded by the
keyword 'virtual' followed by its normal declaration.When we
use the same function name in both the base and derived
classes,the function in base class is declared as virtual.
This concept is a very important part of the
polymorphism portion of object-oriented programming

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is data hiding and abstraction same?

1035


Can you inherit a private class?

1105


Is html an oop?

1070


Is enum a class?

1061


What is for loop and its syntax?

1085


what's the basic's in dot net

2188


What do you mean by variable?

1039


What is a function in oop?

1086


What is difference between data abstraction and encapsulation?

1084


Can bst contain duplicates?

1193


What is abstract class in oops?

1026


What is the problem with multiple inheritance?

1167


What are the two different types of polymorphism?

1143


Can we have inheritance without polymorphism?

1027


What is object and class in oops?

1071