Write a Java program that takes a number from the user, reverses it and checks whether it is palindrome or not.
Please login to submit your solution and earn points.