Which two statements are correct regarding the HelloAutoConfig auto-configuration class when it is specified in the META-INF/spring.factories file? (Choose two.)
Yes, option B is the correct one. The auto-configuration will only create a HelloService bean if there are no other beans of the same type already defined.
I think A and D are correct. The auto-configuration class should create a HelloService bean if it's on the classpath, but not replace any existing ones.
Rodney
3 months agoAnnalee
3 months agoCasie
3 months agoMarylou
2 months agoReynalda
2 months agoRessie
2 months agoReynalda
2 months agoRocco
2 months agoCamellia
2 months agoAshleigh
2 months agoLeontine
3 months agoXuan
3 months agoLaurel
3 months ago