[Solved] why should we use inheritance between A (super) & B (sub) instead of creating them separately and instantiate A from B? [closed]

[ad_1]

why should we use inheritance between A (super) & B (sub) instead of creating them separately and instantiate A from B? [closed]

[ad_2]

solved why should we use inheritance between A (super) & B (sub) instead of creating them separately and instantiate A from B? [closed]