1. Posts/

Java :: Print "Hello World" without using Semicolon (;)

···
java

This Gist shows how to print something in Java, without the use of Semicolon (;). The code is self explanatory.

This idea is to use System.out.println() inside the brackets of an if().

if() will evaluate it’s expression without the need for semicolon.

https://gist.github.com/WarFox/5847999