Lab49 Interview Question

Simple java reasoning based exercise.