EasyRememberSpring Bootmultiple-choice
Which annotation combination does @SpringBootApplication replace?
Remember — Tests recall of fundamental facts and definitions.
Answer Options
A@Configuration + @ComponentScan + @EnableAutoConfiguration
B@Controller + @Service + @Repository
C@EnableWebMvc + @ComponentScan + @Transactional
D@Bean + @Autowired + @Value
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 15+ more Spring Boot questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the Spring Boot topic (Programming Languages).
More Spring Boot Questions
Why is constructor injection preferred over field injection in Spring?
Medium-EasyWhat HTTP status code should a successful POST that creates a resource return?
EasyWhat is the N+1 query problem in Spring Data JPA?
MediumWhat does @Transactional do when placed on a service method?
Medium-EasyIn Spring Security, where should the JWT be validated in the request lifecycle?
Medium