VMware 2V0-72.22 Question Answer
Which two statements are true regarding bean creation? (Choose two.)
A Spring bean can be explicitly created by annotating methods or fields by @Autowired.
A Spring bean can be implicitly created by annotating the class with @Component and using the component-scanner to scan its package.
A Spring bean can be implicitly created by annotating the class with @Bean and using the component- scanner to scan its package.
A Spring bean can be explicitly created using @Bean annotated methods within a Spring configuration class.
A Spring bean can be explicitly created by annotating the class with @Autowired.
TESTED 17 Aug 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved