A

Admin • 828.03K Points
Coach

Q. How to assign values to variable using property?

  • (A) @Value("${my.property}") private String prop;
  • (B) toString()
  • (C) @Environment("${my.property}") private String prop;
  • (D) @Env("${my.property}") private String prop;
  • Correct Answer - Option(A)
  • Views: 19
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.