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.
|Spring - Interview Questions and Answers for 'Spring bean annotation' - 1 question(s) found - Order By Newest|
|Ans. There are 2 ways to specify dependencies in Spring, one by the way of specifying beans in config files and other is by specifying annotations like @Bean, @Component , @Service etc to let spring know of the dependencies.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  spring bean annotation  spring annotations|
|What is the difference betweeen @Inject and @Autowired ?|
|How did you use Spring in your project ? Which Spring annotations have you used in your project ?|