Armstrong number in java

A positive number is called an Armstrong number if it is equal to the cubic sum of that number. For example, 0, 1, 153, 370, 371, 407. For example: Lets…