BNP Paribas interview question

Puzzles and questions about object-oriented programming.