what is virtual function?
Answer Posted / gomathisivaram
The virtual function is nothing but the function in the
base class with the virtual keyword, that allows us to
derive only once in the class which is going to accsess it
while it is the child of two different classes which are
the child of the same base class.This is nothing but the
dynamic binding.
| Is This Answer Correct ? | 18 Yes | 10 No |
Post New Answer View All Answers
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What does and I oop and sksksk mean?
What is encapsulation in oops?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What are the 3 principles of oop?
Why oops is important?
Why do we need oop?
What is debug class?what is trace class? What differences are between them? With examples.
What is the difference between a mixin and inheritance?
What is super in oop?
What is the significance of classes in oop?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Is oop better than procedural?
What is oops in simple words?
What is balance factor?