S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which annotation is used to bind properties to a Spring component?

  • (A) @EnableProperty
  • (B) @ConfigValue
  • (C) @ConfigurationProperties
  • (D) @LoadProperties
  • Correct Answer - Option(C)
  • Views: 10
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@ConfigurationProperties binds external properties to a Spring-managed bean.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.