what is virtual base class
Answers
Answered by
1
Answer:
Virtual base classes offer a way to save space and avoid ambiguities in class hierarchies that use multiple inheritances.
Answered by
0
Answer:
When two or more objects are derived from a common base class
Explanation:
What is Virtual base class? ... - When two or more objects are derived from a common base class, we can prevent multiple copies of the base class being present in an object derived from those objects by declaring the base class as virtual when it is being inherited. Such a base class is known as virtual base class.
Similar questions