結果 : how to reverse a number in java using while loop