Home »
MCQs »
FastAPI MCQs
Which of the following is an advantage of dependency injection?
18. Which of the following is an advantage of dependency injection?
- Reuse shared functionality
- Share database connections
- Authentication and security requirements.
- All of the above
Answer: D) All of the above
Explanation:
Following are the advantages of dependency injection:
- Reuse shared functionality
- Share database connections
- Authentication and security requirements