S

Satya • 3.38K Points
Extraordinary

Q. Which annotation is used to read values from application.properties?

  • (A) @Value
  • (B) @Property
  • (C) @Config
  • (D) @ReadProperty
  • Correct Answer - Option(A)
  • Views: 4
  • Filed under category Springboot
  • Hashtags:

Explanation by: Satya
@Value is used to inject property values from application.properties or application.yml.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.