随笔分类 -  kotlin

摘要:Kotlin 快速入门:https://www.jianshu.com/p/35f0c16242e4 1. 类型后面的? fun test(s:String?) { println("$s may be null") } ?表示可以接收为null的参数s 2. 函数格式: fun 函数名(参数:参数 阅读全文
posted @ 2022-04-29 08:50 dvkc 阅读(55) 评论(0) 推荐(0)