Interactive Brokers interview question

Questions on OOPs