Question OOP-SOLID-0055
MediumWhat is high cohesion?
- A.
The parts of a class or module are closely related and work towards one purpose
- B.
Every class has many responsibilities
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
SOLID and Design Principles question
What is high cohesion?
The parts of a class or module are closely related and work towards one purpose
Every class has many responsibilities
Sign up free to see the answer and a step-by-step explanation.
Classes depend heavily on each other
All code is in one file