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 are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks.

2 Answers   Excel,


143.what is oops principles?

10 Answers  


I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.

0 Answers  


what is virtual destructor

7 Answers   L&T, TCS,


What is the difference between class and structure?

7 Answers  






What is Dynamic Polymorphism?

13 Answers  


Write a program to multiply 3x3 matrics

1 Answers  


what is mean by design pattern

4 Answers  


What is abstraction example?

0 Answers  


what is virtual function?

3 Answers  


What do you mean by inline function?

6 Answers  


create a c++ program that will accepts 9 inputs using 3 by 3 array.

1 Answers  


Categories