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:
- It improves maintainability.
- It makes enhancements easy.
- It produces reusability.