Pregunta de entrevista de eClerx

Basic Intro, some java code, and logical question.