Solved

Select Which Statement Is True with Respect to Constructor Injection

Question 1

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