// 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) 
public class MIIbase {
    public static void main(String[] args) {
        I1 x = new C();
        x.m();
        I2 y = new C();
        y.m();
        C z = new C();
        z.m();
    }
}

interface I1 {
    public void m();
}

interface I2 {
    public void m();
}

class C implements I1, I2 {
    public void m() {
        System.out.println("The one and only m");
    }
}
