What follows is the highlighted source code with comments. You can also download this file directly: HelloWorld.java.
/** * This is a hello world app loosely following Oracle's Tutorial. * @see <a href="http://docs.oracle.com/javase/tutorial/getStarted/cupojava/netbeans.html"> * "Hello World!" for the NetBeans IDE</a> */ public class HelloWorld { /** * This is the function (or method) executed when we run this program. * * @param args the command line arguments */ public static void main(String[] args) { System.out.println("Hello World!"); } }