Skip to main content

Checkpoint: design a Locker

Challenge on lesson: Checkpoint: design a class

CHALLENGE
Difficulty: beginner+25 XP

Implement the full Locker nested class from its comment spec: fixed capacity, first-free-slot add, remove by value (no compaction required), count, isFull. All state private.

Back to lesson: Checkpoint: design a class