Think about a reallife process or activity that exemplifies
Think about a real-life process or activity that exemplifies loose coupling, and explain your answer . Describe how the process or activity could easily be replaced without affecting your daily life.
Solution
Loose coupling exists when, between two or more modules, inter modular communication is less, such that change in one module does not affect much change in the corresponding connected modules.
As an example, consider a online shopping application.
The offers class and checkout class are tightly coupled as a change in the offer on a particular item will change the billing attributes in the checkout class.
But in case of item class and offer class, they are loosely coupled as changes in offers on items will not change the attributes of an item
