Interactive Brokers interview question

Basic Java questions. Predict the output of some code.