Skip to main content
๐Ÿ“œ WAYPOINT LESSON

Checkpoint: design a class

โญ beginnerโณ 25 min read๐Ÿ“ Lesson 48 of 256

A complete multi-method class from a comment spec (FRQ 2 rehearsal).

This is the FRQ 2 rehearsal: one class, four methods, every invariant enforced inside. Read the spec twice before typing; the tests are derived from the spec sentences.