Skip to content
Ravnary
A Knowledge Platform
Categories
Learn
Cheatsheets
Paths
Favourites
Review
Community
Colour theme
Light
Dark
System
Learn
Spring Core
Wiring Beans Together
Quiz
Q 01
/ 05
Intermediate
Question 1 of 5. 0 correct, 0 incorrect.
What does constructor injection give a class that field injection with
@Autowired
does not?
Faster startup, because the container skips reflection for constructor parameters
It cannot be constructed half-wired, because Java will not compile a call that leaves out the arguments
Nothing; they wire the same objects, and one is less code
Check answer
Home
Learn
Paths
Saved
Community