Block Interview Question

A basic class design question