JShell is a REPL (Read-Eval-Print Loop) tool for Java, introduced in Java 9. It lets you type and immediately execute snippets of Java code — expressions, variable declarations, methods, and classes — without needing to create a full class with a main method. It is the ideal tool for experimentation, hypothesis testing, and learning the language.
JShell
REPL (Read-Eval-Print Loop)
Introduced in Java 9
Execute code snippets instantly
No need for a main method
Supports expressions, variables, methods, classes
Ideal for experimentation and learning
Starting JShell
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
▼
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.