Java 12 Switch Statement with arrow syntax!
Channel:
Subscribers:
11,000
Published on ● Video Link: https://www.youtube.com/watch?v=yAgnbkJj7UY
Java 12 and 13 has a new switch syntax which uses the arrow syntax. The arrow syntax can be enabled by adding --enable-preview to the java compiler. Enjoy! :-)
Feel free to leave a comment.
The code is located here:
https://github.com/ekim197711/springboot-java12-switch
Follow me on twitter:
https://twitter.com/MikeMoelNielsen
Other Videos By Mike Møller Nielsen
Tags:
java
java12
switch
arrow syntax
spring boot
spring
springboot
jdk12