In object-oriented analysis, what is cohesion ?
2026
In object-oriented analysis, what is cohesion ?
- A.
Degree of interaction between modules
- B.
Degree to which elements within a module belong together
- C.
Number of classes in a system
- D.
Inheritance hierarchy depth
Attempted by 49 students.
Show answer & explanation
Correct answer: B
Cohesion in object-oriented analysis refers to the degree of strength of relationship between elements within a module. High cohesion is desirable as it indicates focused functionality.