-
Notifications
You must be signed in to change notification settings - Fork 0
mvpjava/jdk12-Switch-Tutorial
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# JDK 12 Switch Statements - Preview Feature This tutorial supports Blog post "JDK 12 Switch Statements - Preview Feature" from mvpjava.com YouTube Tutorial: https://youtu.be/XT38ZXdiPNw Blog Post: http://mvpjava.com/jdk-12-switch This has all been setup for you to run within an official Docker container with access to all the JShell *.jsh script files for you to play around with. The environment is totally reproducible by simply executing "run.sh" after git cloning this repository. ========================================= Running a .jsh script example from JShell ========================================= jshell> /open /root/jdkSwitchDemo.jsh ======================================================== When you want to list the code snippets in jshell script ======================================================== jshell> /list ==================================== Executing individual JShell snippets ==================================== jshell> /list 1 ======================================== Exiting JShell and thus Docker Conatiner ======================================== jshell> /exit ====================================================== Subscribe to MVP Java ... https://www.youtube.com/c/MVPJava?sub_confirmation=1 Follow me ... Website : http://www.mvpjava.com Facebook : https://www.facebook.com/mvpjava Twitter : https://twitter.com/mvpjava DockerHub: https://hub.docker.com/?namespace=mvpjava
About
Tutorial covering JDK 12 Switch Statement/Expression as a Preview Feature
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published