O'Reilly logo

Java 9 Cookbook by Nick Samoylov, Mohamed Sanaulla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Read-Evaluate-Print Loop (REPL) Using JShell

In this chapter, we will cover the following recipes:

  • Getting familiar with REPL
  • Navigating JShell and its commands
  • Evaluating code snippets
  • Object-oriented programming in JShell
  • Saving and restoring the JShell command history
  • Using the JShell Java API

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required