Document Conventions

The following conventions will be observed in this document.


public class HelloWorld
  public static final void main( String args[] )
     // Code in bold is important
     System.out.println("Hello World");

Shell commands


If a command is too long to fit in a single line, it will be wrapped into several lines using the backslash ("\") character. On most UNIX shells (including BASH) you should be able to copy and paste all the lines at once into your console.

javac \
-classpath /usr/lib/java/Hello.jar \ \ \ 


You can find two types of notes in the text: General notes, and warnings.


This is a general note.

This kind of notes are usually used after a block of code to point out where you can find the file that contains that particular code. It is also used to remind you of important concepts, and to suggest what sections of the tutorial you should read again if you have a hard time understanding a particular section.


This is a warning.

Warnings are used to emphatically point out something. They generally refer to common pitfalls or to things that you should take into account when writing your own code.