Google News
logo
FastAPI - Quiz(MCQ)
Which of the following is an advantage of dependency injection?
A)
Reuse shared functionality
B)
Share database connections
C)
Authentication and security requirements.
D)
All of the above

Correct Answer :   All of the above


Explanation : Following are the advantages of dependency injection :

* Reuse shared functionality
* Share database connections
* Authentication and security requirements

Advertisement