1.

Mention The Types Of Loc (dependency Injection)?

Answer»

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.

The different types of loC are: –

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



Discussion

No Comment Found