Pregunta de entrevista de Devathon

Question related to core java