How to use Java9 JShell

Views: 131 Ask New Question


On By

1 Answer


Type the command jshell in command prompt to enter into a jshell session

$ jshell
|  Welcome to JShell -- Version 9
|  For an introduction type: /help intro

jshell> System.out.println("Foo")
Foo

jshell>
On By


Answer This Question