+ 2
Iâll try to explain this as best I can: Class hierarchy is like a family tree, in a way. Thereâs the oldest (referred to as the âparentâ in programming) and younger ones (referred to as the âchildâ). If you need more, think of it like fish. Thereâs the biggest fish eating smaller fish (a parent over the child). You can read a better explanation here:
http://www.modernescpp.com/index.php/c-core-guidelines-class-hierarchies
Hereâs a diagram too, to help:
https://www.programtopia.net/sites/default/files/heirar_1.png