Pergunta de entrevista da empresa Moody's

Some OOP design patterns, and the implementation of hypothetical interfaces/classes