// 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) interface P1 { fun m1() { println("P1.m1") } } interface P2 { fun m2() { println("P2.m2") } } class C : P1, P2 { } fun main() { val o = C() o.m1() o.m2() }