Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Mention the types of lOC (dependency injection)?

Anjali Sharma answered on January 9, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


Mention the types of lOC (dependency injection)?

0

The different types of loC are: –

Setter Injection: With the help of JavaBeans properties.

Constructor Injection: Dependencies are given in the form of constructor parameters.

Interface Injection: With the help of an interface, an Injection is performed.

Out of these three, only construction and setter are being used in Spring.

https://www.baeldung.com/inversion-control-and-dependency-injection-in-spring

Popularity 1/10 Helpfulness 1/10 Language javascript
Source: Grepper
Link to this answer
Share Copy Link
Contributed on Jan 09 2023
Anjali Sharma
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.