How To Assign Values To Variable Using Property #587
How to assign values to variable using property?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Exploring Java Lang Java IO - Java Environment Properties - Quiz No.1.
How to assign values to variable using property?
@Value("${my.property}") private String prop;
@Property("${my.property}") private String prop;
@Environment("${my.property}") private String prop;
@Env("${my.property}") private String prop;