+ 2
How to find the reverse of any number in java by looping method??
3 Answers
+ 4
If you're lazy and performance doesn't matter, you can do this;
System.out.println(new StringBuilder(String.valueOf(input)).reverse());
+ 2
@Serena, Lol; oops, had forgotten that part đ
+ 1
what's the use of '//reversing' here?