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?

Answers were Sorted based on User's Feedback



what is virtual function?..

Answer / bhupendra singh

virtual function can be used to override the propertis of a
function.it is part of polymerphism.it is normaly used in inheritance.

Is This Answer Correct ?    0 Yes 0 No

what is virtual function?..

Answer / prashant kalmodiya

VIRTUAL FUNCTION ensures that correct function get called
at runtime

Is This Answer Correct ?    3 Yes 4 No

what is virtual function?..

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

what is virtual function?..

Answer / susanta samal

virtual function is used to prevent from more times
calling.That means if a function is declared as virtual
then its def will be diferent in base class & derived class

Is This Answer Correct ?    4 Yes 7 No

what is virtual function?..

Answer / ori

(this answer is more - a "use of virtual function")
One Important use of virtual function is - Aggregation of
object related to derivation class hirarcy, in to an other
class , by defining a pointer to the base class (of
hirarchy) as one of the member objects of the other class.

Is This Answer Correct ?    2 Yes 5 No

what is virtual function?..

Answer / varsha vilas kalebag

virtual function is ended with null

virtual function=o

Is This Answer Correct ?    26 Yes 132 No

Post New Answer

More OOPS Interview Questions

What is polymorphism in oops?

1 Answers  


What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined

7 Answers  


How many types of access specifier in c# and vb.net?

1 Answers   Infosys,


What are the advantages of polymorphism?

0 Answers  


how to tackle technical questions

1 Answers  


1. Define a class.

6 Answers  


what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use

2 Answers   HCL,


write a c++ program to find maximum of two numbers using inline functions.

3 Answers   IBM,


Plese get me a perfect C++ program for railway/airway reservation with all details.

0 Answers   ITM,


what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....

6 Answers  


what is the difference between function template and template of function?explain with example.

2 Answers  


What is the difference between Home and $Home?

2 Answers   TCS,


Categories