Lab49 interview question

Simple java reasoning based exercise.