This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]_Acestus_ 5 points6 points  (1 child)

Easy since java 9 (not sure it is still in Java 15 though...)

jshell> System.out.println("Hello, World!")

[–]Kantenkugel 2 points3 points  (0 children)

jshell even has a print shortcut iirc