Neueda interview question

Basic Java questions