Kotlin参考资源

1. Kotlin中的 ? 和 !!
  Kotlin中默认对象不能为null,? 表示当前对象可以为null
 !! 表示当前对象不为null的情况下执行

参考:

1. https://www.kotlincn.net/docs/reference/idioms.html

发布了18 篇原创文章 · 获赞 1 · 访问量 3917

猜你喜欢

转载自blog.csdn.net/silmeweed/article/details/89007117