Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10
Virtual inheritance is a technique used in C++, where a particular base class in an inheritance hierarchy is declared to share its member data instances with any other inclusions of that same base in further derived classes see more details here https://en.m.wikipedia.org/wiki/Virtual_inheritance
20th Apr 2017, 10:10 AM
Swati
Swati - avatar