S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What is the purpose of @EnableAutoConfiguration?

  • (A) Manually configure all beans
  • (B) Disable configurations
  • (C) Auto-configure beans based on classpath settings
  • (D) Load XML config only
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@EnableAutoConfiguration tells Spring Boot to configure beans automatically based on dependencies.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.