labels ) syntax and it can be used not only as a statement, but also as an expression ... 8. 9. var result = switch (str) {. case "A" -> 1 ;.
確定! 回上一頁