個人也對 preview 這件事還沒搞懂 然後原本的 string multiline literal 也從 preview 先拔掉了XD
Switch expressions is a preview language feature. This essentially means that even though it is complete, it has a possibility of not being confirmed as a permanent feature in a future Java release. This happens for a reason. Java 12 and IntelliJ IDEA1