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

Posted by: Pdfprep Category: CoreSpringV3.2 Tags: , ,

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

Answer: A

Leave a Reply

Your email address will not be published.