nerdexam
Broadcom-VMware

2V0-72.22 · Question #30

2V0-72.22 Question #30: Real Exam Question with Answer & Explanation

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

Question

If a class is annotated with @Component, what should be done to have Spring automatically detect the annotated class and load it as a bean? (Choose the best answer.)

Options

  • AEnsure a valid bean name in the @Component annotation is specified.
  • BEnsure a valid @ComponentScan annotation in the Java configuration is specified.
  • CEnsure a valid @Scope for the class is specified.
  • DEnsure a valid @Bean for the class is specified.

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.

Full 2V0-72.22 Practice