Answer Posted / poonam
Virtual function is a function that uses keyword "virtual"
with the datatype of the function. When the base class as
well as the derived class contains a function both having
the same name, just to resolve ambiguity and copy of the
same data again and again we use the keyword "virtual"
preeceeding it. It is used to achieve poymorphism.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What are different oops concepts?
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 is oop better than procedural?
What are the 3 pillars of oop?
2. Give the different notations for the class.\
What is oops in simple words?
Can we define a class within the interface?
What is polymorphism in oops?
What is object and example?
What is purpose of inheritance?
what are the different types of qualifier in java?
Do you know about multiple inheritance?
Is oop better than procedural?
What do you mean by variable?
What is oops concept with example?