Question d’entretien chez Interactive Brokers

Basic Java questions. Predict the output of some code.