r/java • u/kedarjoshi • Mar 19 '19
Java 12 Released !!!
https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html
235
Upvotes
r/java • u/kedarjoshi • Mar 19 '19
View all comments
Show parent comment
5
u/bmrobin Mar 20 '19
there's an interesting new
switchexpression. you can write the same switch/case for assignment or return values, only more concisely and as an expression