ENH iSecure interview question

Write a java code on Armstrong number