+ 1

Most derived class

what's most derived class?

28th Dec 2017, 1:30 AM
Валентин Корниенко
Валентин Корниенко - avatar
1 Answer
+ 10
With an example: class base {}; class derived : base {}; class base2 {}; class mostderived : derived, base2 {}; mostderived md; The object md is of most derived class mostderived , although it is also of types base , derived and base1 . https://stackoverflow.com/questions/12241637/what-does-the-most-derived-object-mean I hope this answers your question
30th Dec 2017, 8:13 AM
Koketso Dithipe
Koketso Dithipe - avatar