Search Interview Questions | More than 3000 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. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
Ans. Using Constructor and Setters. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  spring  dependency injection   inversion of control | ||||
Related Questions | ||||
What is Dependency Injection or IOC ( Inversion of Control ) ? | ||||
What are the benefits of Dependency Injection or IOC ? | ||||
What are different types of dependency injections ? | ||||
Name few Dependency Injection frameworks ? | ||||
Why do we need polymorphism in Java ? | ||||
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 ? | ||||
Difference between constructor and setter injection ? | ||||