Skip to Main Content
Java – kurz & gut, 3rd Edition
book

Java – kurz & gut, 3rd Edition

by Patricia Liguori, Robert Liguori
March 2018
Intermediate to advanced content levelIntermediate to advanced
276 pages
4h 17m
German
dpunkt
Content preview from Java – kurz & gut, 3rd Edition

KAPITEL 20

JShell: die Java-Shell

JShell, ursprünglich Project Kulla, ist ein interaktives Read-Eval-Print-Loop-(REPL-)Befehlszeilentool, das mit Java 9 SDK eingeführt wurde. Es ähnelt in der Funktionalität Interpretern wie Pythons ipython oder Haskells ghcs und erlaubt Anwendern, Codefragmente mit direkter Rückmeldung auszuführen und zu testen, ohne ein Testprojekt oder eine Klasse mit einer Main-Funktion erstellen zu müssen.

Der Code in diesem Kapitel wurde mit JShell Version 9-ea getestet.

Der Einstieg

JShell lässt sich aus dem Menü der NetBeans-IDE starten (Tools image Java Platform Shell), an der Windows-Befehlszeile über jshell.exe aus dem Verzeichnis ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java EE kurz & gut

Java EE kurz & gut

Arun Gupta

Publisher Resources

ISBN: 9781492067344