HelloWorld Demo

The following text was written to the standard output stream when the HelloWorld program was executed from Netbeans.

HelloWorld.java

run:
Hello world!
BUILD SUCCESSFUL (total time: 0 seconds)Hello world!