Number is perfect or not in java

Top