What does high cohesion mean?
Practice this question from Quiz: SOLID and Design Quality, with options and an explanation.
Question
What does high cohesion mean?
Option A — Correct answer
A module's responsibilities are closely related
High cohesion means a component is focused and internally consistent.
Option B
A module depends on every other module
Option C
A module has no purpose
Option D
A module only has public fields