Java examples for Language Basics:jShell
Execute the script using the following syntax:
jShell <path-to-file>/myScript.java