Infor interview question

More about Java concepts and a logic problem