23. Introduction to JShell: Java 9’s REPL for Interactive Java

Objectives

In this chapter you’ll:

Image See how using JShell can enhance the learning and software development processes by enabling you to explore, discover and experiment with Java language and API features.

Image Start a JShell session.

Image Execute code snippets.

Image Declare variables explicitly.

Get Java 9 for Programmers 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.