Java 12 Switch Statement with arrow syntax!

Subscribers:
11,000
Published on ● Video Link: https://www.youtube.com/watch?v=yAgnbkJj7UY



Duration: 14:11
231 views
16


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


2019-09-03Spring Boot Populating Database with test data at startup
2019-09-02Spring Boot application being RabbitMq Consumer AND Producer
2019-08-30RabbitMQ - The FanOut, Topic and Direct EXCHANGE types - simulate in management console
2019-08-28Spring Boot Swagger ui and Swagger annotations - Document your endpoints
2019-08-28HashiCorp Vault Http API - Create and get secrets with curl
2019-08-27Docker Multistage Build - Continuous Delivery and Continuous Integration
2019-08-26Docker and IntelliJ - Start and stop and Inspect the filesystem of docker containers
2019-08-25Jenkins Multistage Multibranch Job - Create a workflow with the Jenkinsfile
2019-08-25Docker Compose - 2 Spring Boot applications dependent on each other running by using docker compose
2019-08-24Docker and the Dockerfile - The basic syntax and explaination of EXPOSE
2019-08-22Java 12 Switch Statement with arrow syntax!
2019-08-21Spring Boot MongoDB MongoTemplate and Query
2019-08-20Spring Boot JUnit5 Kotlin
2019-08-19Lambda expressions - Also the method reference :: is explained
2019-08-18Spring Boot and Sftp - Avoid ftp and ftps if possible
2019-08-15Spring Boot - Docker Image with the jar file using the Gradle Docker Plugin
2019-08-14Spring Data Repository - Extract data without knowing sql
2019-08-14Oh my zsh - An alternative to bash
2019-08-13Spring Boot Version from git tag with Gradle
2019-08-13SdkMan - Install jdk gradle ant maven kotlin scala
2019-08-11Spring Boot Banner - Make the startup log stand out



Tags:
java
java12
switch
arrow syntax
spring boot
spring
springboot
jdk12