#Kotlin的简单语法很好学,接下来让我们开始学习Kotlin的各种常用函数吧
// An highlighted block
//applay函数
fun myApplay(){
//apply函数
val task = Runnable {
println("运行中") }
Thread(task).apply {
setDaemon(true) }.start()
val task2 = Runnable {
println("running") }
val thread = Thread(task2)
thread.setDaemon(true)
thread.start()
}
//let函数
fun myLet():Int{