Kotlin 中的函数使用fun 关键字声明: 功能使用调用函数采用传统的方法。 调用成员函数使用点符号。 Parameters 函数参数使用Pascal表示法定义,即name:type。
確定! 回上一頁