Coupling

Coupling

Coupling is also one of the feature of OOPs. The degree of dependency between the components is called coupling.

These components are tightly coupled with each other. With out effecting any component we can’t modify any component. This type of programming is not recomanded. When ever we are developing the components compulsory we should maintain very less dependency between the components i.e we have to maintain loosely coupling.

The main advantages of loosely coupling are:

  1. It improves maintainability.
  2. It makes enhancements easy.
  3. It produces reusability.

Coupling
Scroll to top