• Home
  • What is byName mode of autowiring?
Question 1:
What is byName mode of autowiring?
A. Default setting which means no autowiring and you should use explicit bean reference for wiring
B. Autowiring by property name. Spring tries to match and wire its properties with the beans defined by the same names in the configuration file.
C. Spring first tries to wire using autowire by constructor, if it does not work, Spring tries to autowire by byType
D. Similar to byType, but type applies to constructor arguments

These questions are from this test. Would you like to take a practice test?

Spring Quiz 3 | Englishfreetest.com