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, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.