JShell


                                Java 9 REPL (JShell)


Java 9 has introduced a new tool called “jshell”. It stands for Java Shell and also known as REPL
(Read Evaluate Print Loop). It is used to execute and test user-friendly and easy way of  Java  class, interface, enum, object, statements etc.
Ø   REPL (Read-Evaluate-Print-Loop)

Ø  REPL is an interactive shell into which we can enter commands and have these immediately executed and the results displayed

Ø  quickly testing code without needing to write an entire test class to run.

Ø   for statements interpretation

Ø  Using these tools you can test code snippets rapidly without creating project

Ø  using REPL each statement is executed instantly 


How to start Jshell

Comments

Post a Comment