Hi, This is from Whizlabs. How come Cohesion is Object Oriented Principle?
Object Oriented Principles are Inheritence, Encapsulation, Abstraction and
Polymorphism only know ?
Which statement(s) are 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. Cohesion is the OO principle most closely associated with allowing a single object to be seen as having many types.