The when construct in Kotlin can be thought of as a replacement for Java switch Statement. It evaluates a section of code among many alternatives. Example: ...
確定! 回上一頁