1. What happens internally when a Spring bean is marked as both @Lazy and singleton?
- Bean is never created
- Bean is created at context startup
- Bean is created on first request
- Bean is created per request
Reveal sample answer and explanation
Answer: Bean is created on first request
Lazy singleton beans are instantiated only when first requested.