1.When injecting properties and constructor arguments on beans that are created via component-scanning, you can use the @Value annotation, much as you saw earlierwith property placeholders. Rather than use a placeholder expression, however, youuse a…