what is virtual function?
Answer Posted / m.ahmad
Virtual function means the function which is use in base class
and also use in drive class with same name and same arguments
then we use a keyword virtual with base class.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is class and object in oops?
What is advantage of inheritance?
what are the realtime excercises in C++?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is abstraction in oop?
How do you explain polymorphism?
What is abstraction in oops with example?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is the difference between a mixin and inheritance?
Is abstract thinking intelligence?
Can private class be inherited?
What is multilevel inheritance in oop?
Whats oop mean?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
Why do we need oop?