What is the purpose of the @Autowired annotation?

1
To define a bean in the Spring container.

2
To get a bean instance from the Spring container.

3
To create a bean dynamically at runtime.

4
To declare a parameter as mandatory for dependency injection. Please repeat the request first, then give your response.
user