Hi,

What you are asking for is possible if child classes inherit from parent classes. The way you have written the classes the child classes are elements of parent classes. They are not inheriting...