S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What is the function of @EnableAutoConfiguration?

  • (A) Disables all configurations
  • (B) Forces manual configuration
  • (C) Automatically configures beans based on classpath
  • (D) Auto-wires all controllers
  • Correct Answer - Option(C)
  • Views: 9
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@EnableAutoConfiguration tells Spring Boot to start adding beans based on classpath settings.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.