mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-08-17 04:26:05 +00:00
docs: update dependency injection
This commit is contained in:
@@ -118,10 +118,6 @@ The program output:
|
|||||||
11:54:05.308 [main] INFO com.iluwatar.dependency.injection.Tobacco -- GuiceWizard smoking RivendellTobacco
|
11:54:05.308 [main] INFO com.iluwatar.dependency.injection.Tobacco -- GuiceWizard smoking RivendellTobacco
|
||||||
```
|
```
|
||||||
|
|
||||||
## Detailed Explanation of Dependency Injection Pattern with Real-World Examples
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## When to Use the Dependency Injection Pattern in Java
|
## When to Use the Dependency Injection Pattern in Java
|
||||||
|
|
||||||
* When aiming to reduce the coupling between classes and increase the modularity of the application.
|
* When aiming to reduce the coupling between classes and increase the modularity of the application.
|
||||||
|
|||||||
Reference in New Issue
Block a user