单精度浮点数(Float)要添加 f 或 F :123.5f ... 数组在Kotlin 中由 Array 类表示,有 get 和 set (通过运算符重载为 [] )方法,和 size 属性,以及一些常用的函数:
確定! 回上一頁