Hello World
If you wish to view the code only, check this page. You can click the links and it should open up in a notepad file.
class HelloWorld {
public static void main (String args[])
{
System.out.println("Hello World!");
}
}
NEW TERMS!
class HelloWorld: To run your program, you must use this name! It is case sensitive! To compile your program however, you must use the name you saved the program as. That is also case sensitive.
public static void main (String args[]: I'm not really sure what this does. But without it, your program is as good as a deaf telephone operator.
System.out.println("Hello World!"): This is what actually prints out Hello World. It will print it on a new line. You will learn about the "print" statement later on.