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 / aarti ashar

A virtual function is a function member of a class,
declared using the "virtual" keyword. A pointer to a
derived class object may be assigned to a base class
pointer, and a virtual function called through the pointer.
If the function is virtual and occurs both in the base
class and in derived classes, then the right function will
be picked up based on what the base class pointer "really"
points at.

Is This Answer Correct ?    25 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between pop and oop?

1168


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2540


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

2136


Can you explain polymorphism?

1113


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2320


What is encapsulation example?

1060


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

2144


What is the difference between a constructor and a destructor?

1262


Why it is called runtime polymorphism?

1137


Can you inherit a private class?

1105


i got a backdoor offer in process global,Bangalore..Can i work with it?

2845


Which type does string inherit from?

1106


What is the point of polymorphism?

1035


Advantage and disadvantage of routing in telecom sector

1307


Why is polymorphism important in oop?

1086