• +91 9723535972
  • info@interviewmaterial.com

Spring Interview Questions and Answers

Question - What are the limitations with auto wiring?

Answer -

Following are some of the limitations you might face with auto wiring:

  • Overriding possibility: You can always specify dependencies using and settings which will override autowiring.
  •  Primitive data type: Simple properties such as primitives, Strings and Classes can’t be autowired.
  • Confusing nature: Always prefer using explicit wiring because autowiring is less precise.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners