The number which is equal to the sum of its digit's cube known as "Armstrong Number", in this Java program, we are going to read an integer number and check whether entered number is Armstrong or not.
Let suppose there is a number 153 (it's an Armstrong number), it is equal to the sum of each it's digit's cube (1*1*1 + 5*5*5 + 3*3*3 = 1+125+27 = 153).
Program to check Armstrong number in Java
Output