Pregunta de entrevista de Cognizant

what was the difficulty using java