Since Java 14 introduced switch expressions, using switch isn't as ... works (as preview) in JDK 17+ switch (obj) { case String str ...
確定! 回上一頁