virtual classses | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

virtual classses

what exactly a virtual class and what are the differences between virtual class and normal class?

24th Jul 2017, 11:45 AM
Hatice Melda Aktepe
Hatice  Melda Aktepe - avatar
5 Answers
+ 5
Virtual base classes, used in virtual inheritance, is a way of preventing multiple "instances" of a given class appearing in an inheritance hierarchy when using multiple inheritance. https://stackoverflow.com/questions/21558/in-c-what-is-a-virtual-base-class
24th Jul 2017, 12:07 PM
Art456
Art456 - avatar
+ 1
in c++
24th Jul 2017, 12:04 PM
Hatice Melda Aktepe
Hatice  Melda Aktepe - avatar
+ 1
thenks it was very helpfull
24th Jul 2017, 12:14 PM
Hatice Melda Aktepe
Hatice  Melda Aktepe - avatar
0
I'll give myself the downvote
24th Jul 2017, 12:05 PM
God Usopp
God Usopp - avatar
- 1
are you talking about education?
24th Jul 2017, 11:59 AM
God Usopp
God Usopp - avatar