Question: Which property is given precedence by Spring?
- application properties located in an application.properties file outside the application.jar
- @PropertySource annotations on configuration classes
- profile-specific application-{profile}.properties files
- application properties located in an application.properties file inside the application.jar
Answer: The correct answer of the above question is Option C:profile-specific application-{profile}.properties files