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
5 months agoAnnalee
5 months agoCasie
5 months agoMarylou
4 months agoReynalda
4 months agoRessie
4 months agoReynalda
5 months agoRocco
5 months agoCamellia
5 months agoAshleigh
5 months agoLeontine
6 months agoXuan
5 months agoLaurel
5 months ago