Pregunta de entrevista de Atypon Systems

codes in java and you have to follow the code