Question

Is there any conflict between strong cohesion and weak coupling? Discuss.

Is there any conflict between strong cohesion and weak coupling? Discuss.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Cohesion refers to the degree upto which various elements of a module belong together. It refers to the idea that the related code should be close to each other. As a developer our aim is to achieve high cohesion that is keep all related code together.It is related to the elements within a class or module.

In an Object Orientent Software Coupling refers to the degree to which data is being shared among various modules i.e. interdependibility of classes on each other. Lesser the dependability weaker the coupling and better the software. It has related to the elements of other classes or modules.

Cohesion tells how much a module know about its internal functionality while coupling tells how much it knows about other classes.

Cohesion tells Functional completeness of a class / module while coupling tell the dependability of a class on other class/module. Thus we string for Strong Cohesion and Weak Coupling

.

Add a comment
Know the answer?
Add Answer to:
Is there any conflict between strong cohesion and weak coupling? Discuss.
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT