Pregunta de entrevista de LTM Limited

The asked Amostrong number code in Java