nerdexam
Broadcom-VMware

2V0-72.22 · Question #86

2V0-72.22 Question #86: Real Exam Question with Answer & Explanation

Sign in or unlock 2V0-72.22 to reveal the answer and full explanation for question #86. The question stem and answer options stay visible for context.

Question

Which two ways to access the properties defined in an application.properties or application.yml file are correct? (Choose two.)

Options

  • AThrough the getProperty() method of the Spring Environment object.
  • BThrough a constructor parameter annotated with @Value.
  • CThrough the getProperty() method of a Properties object.
  • DThrough the getProperty() method of an ApplicationContext object.
  • EThrough a constructor parameter annotated with @Property.

Unlock 2V0-72.22 to see the answer

You've previewed enough free 2V0-72.22 questions. Unlock 2V0-72.22 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 2V0-72.22 Practice