Pregunta de entrevista de Infosys

Basic Java questions and one coding question