Since Java 14 introduced switch expressions, using switch isn't as ... the cases cover all possible values, e.g. of an enum, that suffices:.
確定! 回上一頁