March 2002
Intermediate to advanced
496 pages
8h 51m
English
Object-oriented developers strive to keep objects loosely coupled, keeping the responsibility between objects specific and minimal. This lets you introduce change more easily and with less risk of introducing defects. To a degree, decoupling occurs naturally in Java. Clients see only an object's visible interface and remain isolated from the details of the object's implementation. This arrangement, however, leaves in place the fundamental coupling that the client knows which object has the method the client needs to call.
An opportunity to loosen the restriction that a client must know which object to use occurs when you can arrange the objects in chains. In such a case, you can provide these objects with an ...
Read now
Unlock full access