A class is identified as a low cohesive class, when it contains many unrelated functions within it.
And that what we need to avoid, because big classes with unrelated functions hamper their maintaining.
Advice : make your class small and with precise purpose and highly related functions.
|
Oracle Certified Java Enterprise Architect
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |