JShell

From Chorke Wiki
Revision as of 04:18, 21 February 2022 by Shahed (talk | contribs)
Jump to navigation Jump to search
System.out.println("Hello world!");
IntStream.range(1, 10).forEach(System.out::println);

/exit
jshell <(curl -s 'https://cdn.chorke.org/exec/cli/java/00_hello_world.jsh.txt')
jshell ./00_hello_world.jsh
jshell -v
/exit

JJS

jjs> var name = 'Chorke Academia, Inc.'
jjs> name
Chorke Academia, Inc.

References