What is virtual function?where and when is it used?

Answers were Sorted based on User's Feedback



What is virtual function?where and when is it used?..

Answer / reshma khan pathan

In object-oriented programming, a virtual function is a
function whose behavior can overridden by a function of
same signature of inherited class.

Is This Answer Correct ?    6 Yes 0 No

What is virtual function?where and when is it used?..

Answer / vijaya lakshmi

virtual memory used as a temporary memory.it mainly
used to store a another variable value.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More OOPS Interview Questions

What is the difference between pass by reference and pass by value?

12 Answers   Pfizer, TCS,


What is multilevel inheritance in oop?

0 Answers  


What does and I oop mean?

0 Answers  


what is difference between objects and function

1 Answers  


c++ is a pure object oriented programming or not?

5 Answers   Wipro,






What are callback functions in c++

1 Answers   SoftTech,


Write a program in c++ to read two floating point numbers and find their sum and average.

2 Answers  


any one please tell me the purpose of operator overloading

0 Answers   Amazon,


What is abstraction in oop with example?

0 Answers  


WHEN A COPY CONSTER IS CALL ?

4 Answers  


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


Why is destructor used?

0 Answers  


Categories