Problem Statement
Which statement best reflects the guideline 'favor composition over inheritance'?
Explanation
Favoring composition over inheritance means you build complex behaviour by combining simpler objects (has-a relationship), rather than relying on deep class hierarchies which can increase coupling and fragility. Using composition improves flexibility and maintainability.