what is virtual function?
Answer Posted / ori
(this answer is more - a "use of virtual function")
One Important use of virtual function is - Aggregation of
object related to derivation class hirarcy, in to an other
class , by defining a pointer to the base class (of
hirarchy) as one of the member objects of the other class.
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Why multiple inheritance is not possible?
Why do we use inheritance?
What is encapsulation in ict?
What is meant by oops concept?
What is the problem with multiple inheritance?
What is a function in oop?
What is the fundamental idea of oop?
What is abstraction encapsulation?
What is a superclass in oop?
What is polymorphism used for?
What is ambiguity in inheritance?
Which language is not a true object oriented programming language?
what are the ways in which a constructors can be called?
What is encapsulation with real life example?
What are the 4 pillars of oop?