interface I { fun z() } class C : A(), I { override fun equals(other: Any?): Boolean { return super.equals(other) } override fun hashCode(): Int { return super.hashCode() } override fun toString(): String { return super.toString() } override fun x() { super.x() } override fun z() { TODO("Not yet implemented") } }