Kata
Connecting Cohesion/Coupling and SOLID principles
For each row in the Cohesion/Coupling column, highlight the correct concept and then add a reason in the Reason column. We created a few sample reasons you can use. In some cases, both coupling and cohesion apply:
Figure 12.2: Connecting cohesion/coupling and SOLID principles
Note
For answers, see the Appendices section on page 389.
Some ideas for the Reason column are as follows:
- Consistency/usage
- Change
- Inheritance tree level