Discussion :: Testing sawaal
-
Which of the following statement is true?
A.
Cohesion is the OO principle most closely associated with hiding implementation details
|
B.
Cohesion is the OO principle most closely associated with making sure that classes know about other classes only through their APIs
|
C.
Cohesion is the OO principle most closely associated with making sure that a class is designed with a single, well-focused purpose
|
D.
None
|
Answer : Option C
Explanation :
A refers to encapsulation, B refers to coupling
Be The First To Comment