Java Program to reverse the number.1 min read

Output of reversing a number: