Related questions
Question 31 - 2V0-72.22 discussion
Which two statements are correct when @SpringBootApplication is annotated on a class? (Choose two.)
A.
It causes Spring Boot to enable auto-configuration by default.
B.
Component scanning will start from the package of the class.
C.
All other annotations on the class will be ignored.
D.
Methods in the class annotated with @Bean will be ignored.
E.
A separate ApplicationContext will be created for each class annotated with @SpringBootApplication.
Your answer:
0 comments
Sorted by
Leave a comment first