Examveda

What is virtual inheritance?

A. C++ technique to avoid multiple copies of the base class into children/derived class

B. C++ technique to avoid multiple inheritances of classes

C. C++ technique to enhance multiple inheritance

D. C++ technique to ensure that a private member of the base class can be accessed somehow

Answer: Option A


Join The Discussion

Related Questions on Object Oriented Programming in C plus plus

What is inheritance in C++?

A. The process of creating multiple instances of a class

B. The process of hiding the implementation details of a class

C. The process of deriving a new class from an existing class

D. The process of defining functions within a class