DEV Community

Discussion on: From Java 8 to Java 15 in Ten Minutes

Collapse
 
tuanphanhcm profile image
Phan Thanh Tuan

The new switch case syntax is applied in JDK 14, not 12. Kindly check it.

Collapse
 
pmgysel profile image
Philipp Gysel

Yes true. You can see this distinction in the table of contents (experimental feature). I didn't mention this again in the paragraph title to keep it short. Anyways, it's a great feature in my opinion, less verbose😀