Pregunta de entrevista de Thoughtworks

Code pairing- oops desing question