Kotlin 中的 val 和Java 中的 final 类似,表示只读变量,不能修改。这里分别从成员变量、参数和局部变量来和Java 做 ... static property / function.
確定! 回上一頁