Pregunta de entrevista de Tata Consultancy Services

What does @SpringBootApplication do? Could you explain it?

Respuesta de la entrevista

Anónimo

20 oct 2025

It’s a combination of three annotations: @Configuration — marks the class as a configuration source. @EnableAutoConfiguration — enables Spring Boot’s auto-configuration feature. @ComponentScan — scans components in the current package and subpackages.