// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
// will give compiler error
public class MII {
    public static void main(String[] args) {
        C o = new C();
        o.m();
    }
}

interface I1 {
    public default void m() {
        System.out.println("I1.m");
    }
}

interface I2 {
    public default void m() {
        System.out.println("I2.m");
    }
}

class C implements I1, I2 {
}
