If you have a collection of one, it is the same in reverse order as forward.
If you want to reverse the string representation of an integer, you can use StringBuilder to reverse the digits.
StringBuilder sb = new StringBuilder();sb.append(digits);sb.reverse();System.out.println("Your number in reverse order is: "+ sb);