What problem do virtual base classes solve?
What will be an ideal response?
virtual base classes solve the problem of “diamond inheritance,” where a derived
class receives duplicate subobjects from its base classes. With virtual base classes,
only one copy of the subobject is inherited into the derived class (at the bottom of
the diamond).
Computer Science & Information Technology
You might also like to view...
Network hardware is what enables devices to connect to each other, but the domain controller enables them to communicate
Indicate whether the statement is true or false
Computer Science & Information Technology
A closing line at the end of a letter, such as Yours Truly, is the ________
Fill in the blank(s) with correct word
Computer Science & Information Technology