Related questions
Question 9 - 2V0-72.22 discussion
Which two statements are true concerning constructor injection? (Choose two.)
A.
If there is only one constructor the @Autowired annotation is not required.
B.
Constructor injection only allows one value to be injected.
C.
Constructor injection is preferred over field injection to support unit testing.
D.
Construction injection can be used with multiple constructors without @Autowired annotation.
E.
Field injection is preferred over constructor injection from a unit testing standpoint.
Your answer:
0 comments
Sorted by
Leave a comment first