New() constructor function overriding

In reply to dave_59:

I think class B needs to be extended from class A.

1 Like