Tag: composition
All the articles with the tag "composition".
-
Composition vs Inheritance in C++: Object Design Trade-Offs
Composition vs inheritance in C++: inheritance models is-a, composition models has-a. Compare coupling, flexibility and reuse, and learn when to use each.