Ad
Code
Diff
  • package cat;
    public class kata{
      public static int doubleValue(int x) {
        return x = x*2;
      }
    }
    • package cat;
    • public class kata{
    • public static int doubleValue(int x) {
    • return x << 1;
    • return x = x*2;
    • }
    • }