Solved

Select Which Statement Is True with Respect to Constructor Injection

Question 2

Multiple Choice

Select which statement is true with respect to constructor injection with Spring (select one)


A) Multiple parameters can be dependency injected into a constructor
B) Using XML configuration, the constructor-arg element may be omitted if the constructor requires a single parameter
C) One single bean cannot mix constructor injection with setter injection
D) All of the above

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents