In Kotlin, switch statement of Java is replaced with when statement. Similar to the if-else statement, you can use when as an expression or as a statement.
確定! 回上一頁