The Java Shell

  • Kishori Sharan


The Java shell, which is called JShell in JDK 9, is a command-line tool that provides an interactive way to access the Java programming language. It lets you evaluate snippets of Java code instead of forcing you to write an entire Java program. It is a REPL (Read-Eval-Print loop) for Java. JShell is also an API that you can use to develop an application to provide the same functionality as the JShell command-line tool.

Copyright information

© Kishori Sharan 2017, corrected publication 2018 2017

Authors and Affiliations

  • Kishori Sharan
    • 1
  1. 1.MontgomeryUSA

Personalised recommendations