May 2019
Intermediate to advanced
316 pages
7h 13m
English
DI is a software development technique where we can create objects that depend on other objects. DI helps the interaction between classes, but at the same time keeps the classes independent.
There are three types of classes in DI:
The three types of classes in DI are shown in the following diagram:

DI makes classes loosely coupled. This means that the creation of client dependencies is separated from the client's behavior, which makes unit testing easier. ...
Read now
Unlock full access