SOFTWARE ENGINEERING

SOFTWARE DESIGN

DESIGN PATTERNS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
“Strive for loosely coupled designs between objects that interact.” does NOT mean:
A
When two objects are loosely coupled, they can interact, but have very little knowledge of each other.
B
Interdependency between objects is minimized.
C
Loosely coupled designs allow to build flexible OO systems.
D
Interdependency between objects is maximized.
Explanation: 

Detailed explanation-1: -Loose coupling is the concept typically employed to deal with the requirements of scalability, flexibility, and fault tolerance. The aim of loose coupling is to minimize dependencies. When there are fewer dependencies, modifications to or faults in one system will have fewer consequences on other systems.

Detailed explanation-2: -Tight coupling means classes and objects are dependent on one another. In general, tight coupling is usually not good because it reduces the flexibility and re-usability of the code while Loose coupling means reducing the dependencies of a class that uses the different class directly.

There is 1 question to complete.