在线学习
Kotlin 官方文档
翻译出处kotlin-web-site-cn
中文站(更新到 1.1):https://www.kotlincn.net/
网址(更新到 1.0.3):http://tanfujun.com/kotlin-web-site-cn/
Kotlin 中文论坛:https://www.kotliner.cn/
《Kotlin for android developers》中文版翻译
Android Kotlin
https://developer.android.com/kotlin
五分钟学会 Kotlin 语法
https://www.jianshu.com/p/1ea733ea197d
写给Android开发者的Kotlin入门
https://www.jianshu.com/p/bb53cba6c8f4
一个开源项目AndroidProject-Kotlin
https://github.com/getActivity/AndroidProject-Kotlin
另外你如果对 Kotlin 不熟悉,恰好想学习的话,推荐你通过下面这三篇文章来学习
菜鸟教程:
https://www.runoob.com/kotlin/kotlin-tutorial.html
在线编译器:https://play.kotlinlang.org/
/**
* You can edit, run, and share this code.
* play.kotlinlang.org
*/
fun main() {
println("Hello, world!!!")
println("sum="+sum1(5,8))
}
fun sum(x: Int, y: Int): Int {
return x + y
}
fun sum1(x: Int, y: Int)=x+y