val x = 3 when(x) { 3 -> println("yes") 8 -> println("no") else -> println("maybe") } // when can also be used as an expression! val y ...
確定! 回上一頁