Home » JAVA Programming » Java Basic » Question
  1. How to use environment properties in the class?
    1. @Property
    2. @Autowired
    3. @Variable
    4. @Environment
    5. None of these
Correct Option: B

@Autowired
private Environment env;



Your comments will be displayed only after manual approval.