@@ -0,0 +1,445 @@
+package leetcode.reverse_integer;%0A%0Apublic class Solution %7B%0A    public int reverse(int x) %7B%0A    %09int ret = 0;%0A    %09while(x != 0)%7B%0A    %09%09ret *= 10;%0A    %09%09ret += x %25 10;%0A    %09%09x /= 10;%0A    %09%7D%0A    %09return ret;%0A    %7D%0A    public static void main(String%5B%5D args)%7B%0A    %09System.err.println(%22%22 + new Solution().reverse(1234));%0A    %09System.err.println(%22%22 + new Solution().reverse(1000));%0A    %09System.err.println(%22%22 + new Solution().reverse(-1234));%0A    %7D%0A%7D%0A

Add java solution for 7. Reverse Integer