In O-O design, coupling (depending on other classes) is a goodthing, you want lots of it, and cohesion (everything in a class“goes together”) is a bad thing, you want to minimize it as much aspossible. True/False?
Solution
Q) In O-O design, coupling (depending on other classes) is agood thing, you want lots of it, and cohesion (everything in aclass “goes together”) is a bad thing, you want to minimize it asmuch as possible.
Answer) False, because
Cohesion: It refers to what the class (or module) can do. Lowcohesion would mean that the class does a great variety of actions- it is broad,
OR
OR