Page 1 of 1

About Question enthuware.ocpjp.v7.2.1287 :

Posted: Thu Sep 04, 2014 5:09 pm
by hamada.yamasaki
The less a class knows about the internal details of another class the better. It means that the classes are less cohesive
Can it also be preceived as classes are well encapsulated?

Re: About Question enthuware.ocpjp.v7.2.1287 :

Posted: Thu Sep 04, 2014 7:43 pm
by admin
No, encapsulation specifically refers to fields. While cohesion includes methods as well.