© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
M. IndenJava Challengeshttps://doi.org/10.1007/978-1-4842-7395-1_12

Quick Start for JShell

Michael Inden1  
(1)
Zurich, Switzerland
 

In this book, various examples are tried out directly on the console. This is primarily because Java offers the interactive command line application JShell as a REPL since version 9. In this appendix, you will get to know JShell briefly.

1 Java + REPL => jshell

The tool jshell was integrated in the JDK with Java 9. This tool allows an interactive working style and the execution of small source code snippets, as it is already familiar from various other programming languages. This is also known as REPL (Read-Eval-Print-Loop ). Thereby, ...

Get Java Challenges: 100+ Proven Tasks that Will Prepare You for Anything now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.