What are different types of autowire types?



What are different types of autowire types?..

Answer / Sunil Kumar Rajpal

In Spring, there are four types of autowire: Autowired(BY_TYPE), Autowired(BY_NAME), Autowired(CONSTRUCTOR), and Autowired(FIELD).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What are microservices in spring?

1 Answers  


Briefly describe the 2 ways in which the class property can be used.

1 Answers  


What is spring repository?

1 Answers  


What is spring ioc definition?

1 Answers  


What is spring @autowired?

1 Answers  


What is xmlbeanfactory?

1 Answers  


What is a spring component?

1 Answers  


Explain the difference between @autowired and @inject?

1 Answers  


What are advice, aspect, join-point and point cut in spring?

1 Answers  


What is classpathxmlapplicationcontext?

1 Answers  


What is dataaccessexception?

1 Answers  


How can we use spring to create restful web service returning json response?

1 Answers  


Categories