Exam 2V0-72.22 Topic 4 Question 41 Discussion
Actual exam question for VMware's 2V0-72.22 exam
Question #: 41
Topic #: 4
Question #: 41
Topic #: 4
Which two options will inject the value of the daily.limit system property? (Choose two.)
Suggested Answer: C,D Vote an answer
The @Value annotation can be used to inject values from external sources into fields, constructor parameters, or method parameters. To inject a system property, the annotation can use either the ${...} placeholder syntax or the #{...} SpEL expression syntax. The former is simpler and more concise, while the latter is more powerful and flexible. Both syntaxes can access the systemProperties map, which contains all the system properties as key-value pairs.
by rntsol at Apr 22, 2025, 10:54 AM
0
0
0
10
Comments
rntsol
2025-04-22 10:54:33Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).