The _____ file in Spring Boot can be used to define configuration properties in YAML format.

  • application.yaml
  • application.properties
  • application.yml
  • application.config.yaml
In Spring Boot, the application.yaml file is used to define configuration properties in YAML format. YAML is a human-readable data format often preferred for configuration in Spring Boot. While Spring Boot also supports .properties files, they use a different format. Options 3 and 4 are variations of option 1 and do not represent valid Spring Boot configuration file names.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *