Which two statements are correct regarding the HelloAutoConfig auto-configuration class when it is specified in the META-INF/spring.factories file?
Refer to the exhibit.
Which two statements are correct regarding the HelloAutoConfig auto-configuration class when it is specified in the META-INF/spring.factories file? (Choose two.)
A . A HelloService bean will be created from the helloService() method even if the HelloService.class is not in the classpath.
B . A HelloService bean will be created from the helloService() method only when there is no other HelloService bean in the ApplicationContext.
C . This auto-configuration class is used only when the HelloService.class is not on the classpath.
D . This auto-configuration class is used only when the HelloService.class is on the classpath.
E . A HelloService bean will be created from the helloService() method and will replace existing a HelloService bean in the ApplicationContext.
Answer: B,D
Latest 2V0-72.22 Dumps Valid Version with 60 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund