You cannot vote on your own question.
You cannot vote on your own answer.
Supposing you have a number n:
p = n;
r = 0;
a = p%10;
r = r * 10 + a;
p = p/10;
System.out.println("Reversed Number: "+r);
Log in to your account to answer this questions.