@Value Annotation

General knowledge(GK) - Online Exam Test Papers | General knowledge(GK) - MCQs[multiple choice questions and answers ] | General knowledge(GK) - Mock Test Papers | General knowledge(GK) - Practice Papers | General knowledge(GK) - Sample Test Papers |

Question:
@Value Annotation

1.The @Value annotation is used to read the environment or application property value in Java code.

2.If the property is not found while running the application, Spring Boot throws the Illegal Argument exception as Could not resolve placeholder spring.application.name in value ${spring.application.nam

3.Both

4.None

Posted Date:-2020-11-23 05:41:19


More MCQS Questions and answers