Drill · Container · Q1–20
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
On Q18 I include @Qualifier as a correct answer (the book omits it — but it's
the annotation for choosing a bean). On Q19 the exam-correct destruction 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+.