Loose coupling means that the classes are mostly independent. If the only knowledge that class A has
Question:
Loose coupling means that the classes are mostly independent. If the only knowledge that class A has about B, is what class B has exposed through its interface than that is considered loosely coupling (Geeks for geeks, 2020). A real life process or activity that exemplifies loose coupling would be a smart watch. For the most part, a smart watch and its users are both independent. Regardless of who the user is, the smart watch still performs its duties of telling time and alerting you every hour or so to breathe. The user is independent and also perform its own activities. It is loose coupling because you can change the user, but the performance of the watch is still the same. If you change the watch to another smart watch, the user will still behave the way it would, with or without the watch.
When possible, look for ways that this post may be more tightly coupled to the activities they selected than they realize, and identify these overlooked dependencies.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill