超級關鍵字

interface MyInterface {
    fun funcOne() {
        //optional body
        print("Function with default implementation")
    }
}

如果介面中的方法有自己的預設實現,我們可以使用 super 關鍵字來訪問它。

super.funcOne()