Skip to main content

How To: Hello World in Java (Video)

Posted on

Here is a really quick and simple tutorial on how to do “Hello World” in Java.

Here is the code I used:

package helloworld;

/**
* @author Mike
*/
public class Main {

  /**
  * @param args the command line arguments
  */
  public static void main(String[] args) {
    // TODO code application logic here
    System.out.println("Hello World");
  }

}

You can download NetBeans IDE from their website and try this yourself for free :)