Drill · Container · 20 questions
Container Drill
Twenty exam-shaped questions covering the same concepts as the Container section (Q1–20) of your practice book — in fresh wording, with instant feedback.
How to use this
Answer each one before you're sure — guessing then checking is how the fact sticks. Anything you
miss, bring to me and we'll turn it into a two-minute mini-lesson. Your running score is pinned at the top.
Two corrections vs the book
In the "which annotation selects which bean to inject" question I include @Qualifier
as correct (the book omits it — but it's the annotation for choosing a bean). In the
bean-destruction question, the exam-correct order is @PreDestroy →
DisposableBean.destroy() → custom destroy-method; learn that order, not the
book's stated key.
Scored under 16/20? That's normal on a first pass — tell me which numbers you missed and
I'll build a targeted mini-lesson for exactly those. Then re-run this drill until you're at 18+.