@@ -0,0 +1,416 @@
+package reverse.integer;%0A%0Apublic class Solution %7B%0A%0A%09private static int test = 124;%0A    public int reverse(int x) %7B%0A        int r=0;%0A        while(x!=0)%7B%0A            r=r*10+ x%2510;%0A            x/=10;%0A        %7D%0A        %0A        return r;%0A    %7D%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09%0A%09%09System.out.println(%22binary %22 +  Integer.toBinaryString(test & 0xF));%0A%09%09System.out.println(%22decimal %22 + (test & 0xF));%0A%09%09%0A%09%7D%0A%7D%0A

reverse integer