Question related to inheritance and classes

In reply to dave_59:
Hi Dave,

Can you please provide the solution to this puzzle?

Thanks and Regards.