Kotlin :lambda中return语句 ... forEach { if (it > 5) { return } println(it) } println("End") }. 按照我们的预期,调用demo后,它应该输出:.
確定! 回上一頁