FICO interview question

What are different ways to inject dependencies in Spring Boot?