A Way For Learning

Loose Coupling & Tight Coupling in Programing

No comments

In programming as per the requirement we need to have multiple classes. So when there are multiple classes ,some classes will depend on other classes and some classes doesn't require any other classes help.

Loose Coupling : The name indicates that the class is single and doesn't depend on another class for its functionality. By using this you can isolate the things and make the changes easily because it is not depending on any other class

Tight Coupling : The name indicates that the class is not isolated and depends on multiple classes. This kind of coupling needs to be taken care because any change in one class must be notified by all other classes that are depending on that class.

No comments :

Post a Comment