@@ -0,0 +1,335 @@
+public class Solution %7B%0A    public int reverse(int x) %7B%0A%09%09long result = 0;%0A%09%09boolean neg = false;%0A%09%09if (x %3C 0) %7B%0A%09%09%09neg = true;%0A%09%09%09x *= -1;%0A%09%09%7D%0A%09%09while(x %3E 0) %7B%0A%09%09%09result *=10;%0A%09%09%09result += x %25 10;%0A%09%09%09x /= 10;%0A%09%09%7D%0A%09%09if (result %3E Integer.MAX_VALUE) return 0;     // overflow%0A%09%09return (int)result * ((neg == true) ? -1 : 1);    %0A    %7D%0A%7D%0A

Create 007.java