Search Interview Questions
| 3372 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. Central place for configuring dependencies. |
No need to create object, container manage all this By using Run time polymorphism and association.
Facilities development of framework / libraries by injecting implementation classes in the implementation code.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  dependency injection  IOC  inversion of control|
|What is Dependency Injection or IOC ( Inversion of Control ) ?|
|Name few Dependency Injection frameworks ?|
|What are different types of dependency injections ?|
|What are the various Auto Wiring types in Spring ?|
|What is the difference betweeen @Inject and @Autowired ?|
|Which of the following Java features facilitates Dependency Injection - Inheritance or Composition ?|
|What are the different ways in which dependency injection can be done using Spring Framework ?|
|Difference between constructor and setter injection ?|
|Which of the OOP's features facilitate dependency injection ?|