Exit 2V0-72.22 Professional Develop VMware Spring
Question 5 of 5
0% complete
Q5 Multiple choice

Which two statements are true regarding bean creation? (Choose two.)

Select all that apply.

  • A

    A Spring bean can be explicitly created by annotating methods or fields by @Autowired.

  • B

    A Spring bean can be implicitly created by annotating the class with @Component and using the component-scanner to scan its package.

  • C

    A Spring bean can be implicitly created by annotating the class with @Bean and using the component-scanner to scan its package.

  • D

    A Spring bean can be explicitly created using @Bean annotated methods within a Spring configuration class.

  • E

    A Spring bean can be explicitly created by annotating the class with @Autowired.