Explain virtual inheritance?



Explain virtual inheritance?..

Answer / Roop Kishor

Virtual inheritance is a feature in C++ that allows multiple classes to inherit from the same base class without creating multiple copies of the base class data members. This eliminates potential issues related to memory usage and ambiguity caused by multiple inheritances.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

why destructor is not over loaded?

5 Answers  


Write on signed and unsigned integers and give three (3) examples each

1 Answers  


Should you protect the global data in threads? Why or why not?

2 Answers   IBM,


What is constructor overloading in oop?

1 Answers  


What do you mean by inheritance?

0 Answers   IBS,


What does the keyword "static" mean?

4 Answers   TCS,


Program to print 0 to 9 in cross order

3 Answers  


Can we have a private virtual method ?

8 Answers   Ness Technologies,


Whatis the difference between oop and object based language

3 Answers  


how to find the correct email address format by using the programe?

1 Answers   Accenture,


why overriding?

3 Answers  


IN PROGRAMING LANGAUGE A C++ IS PURELY OBJECT ORIENTED OR NOT?

2 Answers  


Categories