Oct-12-2018, 05:29 PM
Which part of the code are you curious about? There really isn't anything special there,
B
is keeping a reference to an instance of A
, instead of inheriting from A
.