4 deleted 17 characters in body
source | link
public class HelloWorldConstructor {
    public HelloWorldConstructor() {
    }

    public HelloWorldConstructor(String a) {
        saySomething(a);
    }

    public HelloWorldConstructor(String a, String b) {
        saySomething(a, b);
    }

    Stringvoid saySomething(String a) {
        return a;System.out.println(a);
    }

    Stringvoid saySomething(String a, String b) {
        return System.out.println(a + ", " + b;b);
    }
}
public class HelloWorldConstructor {
    public HelloWorldConstructor() {
    }

    public HelloWorldConstructor(String a) {
        saySomething(a);
    }

    public HelloWorldConstructor(String a, String b) {
        saySomething(a, b);
    }

    String saySomething(String a) {
        return a;
    }

    String saySomething(String a, String b) {
        return a + ", " + b;
    }
}
public class HelloWorldConstructor {
    public HelloWorldConstructor() { }

    public HelloWorldConstructor(String a) {
        saySomething(a);
    }

    public HelloWorldConstructor(String a, String b) {
        saySomething(a, b);
    }

    void saySomething(String a) {
        System.out.println(a);
    }

    void saySomething(String a, String b) {
        System.out.println(a + ", " + b);
    }
}
3 deleted 17 characters in body
source | link
public class HelloWorldConstructor {
    public HelloWorldConstructor() {
    }

    public HelloWorldConstructor(String a) {
        saySomething(a);
    }

    public HelloWorldConstructor(String a, String b) {
        saySomething(a, b);
    }

    voidString saySomething(String a) {
        System.out.println(a);return a;
    }

    voidString saySomething(String a, String b) {
        System.out.println(return a + ", " + b);b;
    }
}
public class HelloWorldConstructor {
    public HelloWorldConstructor() { }

    public HelloWorldConstructor(String a) {
        saySomething(a);
    }

    public HelloWorldConstructor(String a, String b) {
        saySomething(a, b);
    }

    void saySomething(String a) {
        System.out.println(a);
    }

    void saySomething(String a, String b) {
        System.out.println(a + ", " + b);
    }
}
public class HelloWorldConstructor {
    public HelloWorldConstructor() {
    }

    public HelloWorldConstructor(String a) {
        saySomething(a);
    }

    public HelloWorldConstructor(String a, String b) {
        saySomething(a, b);
    }

    String saySomething(String a) {
        return a;
    }

    String saySomething(String a, String b) {
        return a + ", " + b;
    }
}
2 deleted 57 characters in body
source | link
public class CallConstructor2 {
    public static void main(String[] args) {
        HelloWorldConstructor hwc = new HelloWorldConstructor();

        new HelloWorldConstructor("allo");
        new HelloWorldConstructor("allo", "allo");
    }
}
public class CallConstructor2 {
    public static void main(String[] args) {
        HelloWorldConstructor hwc = new HelloWorldConstructor();

        new HelloWorldConstructor("allo");
        new HelloWorldConstructor("allo", "allo");
    }
}
public class CallConstructor2 {
    public static void main(String[] args) {
        new HelloWorldConstructor("allo");
        new HelloWorldConstructor("allo", "allo");
    }
}
1
source | link