Checkout the following link http://www.javaprepare.com/notes/intro.html