• +91 9723535972
  • info@interviewmaterial.com

Spring Interview Questions and Answers

Question - How Can We Inject Beans in Spring?

Answer -

A few different options exist in order to inject Spring beans:

  • Setter injection
  • Constructor injection
  • Field injection
The configuration can be done using XML files or annotations.

For more details, check this article.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners