In Kotlin, when is the equivalent of switch in Java or C. Here is an example of how to use the when expression. Kotlin when example. fun main(args: Array<String> ...
確定! 回上一頁