S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What is the purpose of @ConfigurationProperties?

  • (A) To define controller mappings
  • (B) To define repositories
  • (C) To bind external properties to Java objects
  • (D) To configure database settings only
  • Correct Answer - Option(C)
  • Views: 24
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey

@ConfigurationProperties binds property values to Java classes for typed configuration.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.