I'm new for java 9 and just practicing some snippet of code on jshell
jshell> System.out.println("hello");
hello
jshell> System.out.println("hello")
hello
In the both the cases I'm getting output of hello
but jshell
works without semicolon at end of line. I know java need semicolon