Spring / Spring Interview questions II
How do we inject a null or empty Value in Spring framework?
In Spring, the null and empty value can be injected while creating bean and assigning dependency as described below.
Null value is injected using
and an empty value can be injected as shown below.
More Related questions...