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 polymorphism means?

0 Answers  


What are the OOPS concepts?

106 Answers   A1 Technology, Bajaj, CTS, EDS, HP, Infosys, Intel, Microsoft, MNC, Persistent, PlanetSoft, ProConstructor, TCS, Virtusa, Wipro, YSoft Solutions,


what is SPL in c++.

1 Answers  


all about pointers

2 Answers  


Out of 4 concepts, which 3 C++ Follow?

1 Answers   TCS,


What is object in oop?

0 Answers  


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

0 Answers   Wipro,


what is the use of mutable key word

3 Answers   HCL,


Why and when is a virtual destructor needed?

5 Answers  


What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass

6 Answers   Wipro,


//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }

1 Answers  


In multiple inheritance , to create sub class object , is there need to create objects for its superclasses??? in java and c++ both. Actually i have some information that is , all available members from its superclasses , memory created in subclass obj , so no need to create object for its superclasses...??? Thanks in Advance

1 Answers  


Categories