Categories

Aug 12 in Design Patterns
Q: Q. What is Dependency Injection in Design patterns

1 Answer

Aug 12

Dependency injection makes it easy to create loosely coupled components, which typically means that components consume functionality defined by interfaces without having any first-hand knowledge of which implementation classes are being used.

Dependency injection makes it easier to change the behavior of an application by changing the components that implement the interfaces that define application features. It also results in components that are easier to isolate for unit testing.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Oct 17, 2019 in Design Patterns
Oct 17, 2019 in Design Patterns
Oct 16, 2019 in Design Patterns
...