Thomson Reuters interview question

Basic OOP questions