Why is aggregation better than inheritance?

We should use aggregation if part of the interface is not used or has to be changed to avoid an illogical situation . We only need to use inheritance, if we need almost all of the functionality without major changes. And when in doubt, use Aggregation.6 Kas 2008

Sizin İçin Seçtik  Why is aggregation better than inheritance?

Leave a Reply

Your email address will not be published. Required fields are marked *

Why is aggregation better than inheritance?

We should use aggregation if part of the interface is not used or has to be changed to avoid an illogical situation . We only need to use inheritance, if we need almost all of the functionality without major changes. And when in doubt, use Aggregation.6 Kas 2008

Sizin İçin Seçtik  Why are my Downloads not showing in download folder?

Leave a Reply

Your email address will not be published. Required fields are marked *