Frage im Vorstellungsgespräch bei BNP Paribas

Puzzles and questions about object-oriented programming.