nerdexam
Broadcom-VMware

2V0-72.22PSE · Question #86

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

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

Core Spring

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.22PSE to see the answer

You've previewed enough free 2V0-72.22PSE questions. Unlock 2V0-72.22PSE 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.

Topics

#Property injection#@Value annotation#Spring Environment#Configuration management
Full 2V0-72.22PSE Practice