S

Shyam Dubey • 3.70K Points
Extraordinary

Q. How do you define custom application properties in Spring Boot?

  • (A) Add them to pom.xml
  • (B) Use @PropertySource
  • (C) Declare them in application.properties or application.yml
  • (D) Add them to Spring Boot dashboard
  • Correct Answer - Option(C)
  • Views: 32
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey

application.properties or application.yml is used to define custom app-level properties.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.