nerdexam
Broadcom-VMware

2V0-72.22 · Question #67

Which two statements are true concerning constructor injection? (Choose two.)

Sign in or unlock 2V0-72.22 to reveal the answer and full explanation for question #67. The question stem and answer options stay visible for context.

Core Spring

Question

Which two statements are true concerning constructor injection? (Choose two.)

Options

  • AIf there is only one constructor the @Autowired annotation is not required.
  • BConstructor injection only allows one value to be injected.
  • CConstructor injection is preferred over field injection to support unit testing.
  • DConstruction injection can be used with multiple constructors without @Autowired annotation.
  • EField injection is preferred over constructor injection from a unit testing standpoint.

Unlock 2V0-72.22 to see the answer

You've previewed enough free 2V0-72.22 questions. Unlock 2V0-72.22 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#constructor injection#field injection#@Autowired#dependency injection
Full 2V0-72.22 Practice