Java Tutorial

Java Tutorial

Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. This tutorial gives a complete understanding of Java.

This reference will take you through simple and practical approach while learning Java Programming language.


This reference has been prepared for the beginners to help them understand the basic to advanced concepts related to Java Programming language.


Before you start doing practice with various types of examples given in this reference, I'm making an assumption that you are already aware about what is a computer program and what is a computer programming language?

Compile/Execute Java Programs

For most of the examples given in this tutorial you will find Try it option, so just make use of it and enjoy your learning.

Try following example using Try it option available at the top right corner of the below sample code box:

public class MyFirstJavaProgram {

    public static void main(String []args) {
       System.out.println("Hello World");

1 - Java Quick Reference Guide

A quick Java reference guide for Java Programmers.

Java Quick Reference Guide

2 - Java Useful Resources

A collection of Java Sites, Books and Articles is given at this page.

Java Useful Resources

3 - JavaScript Tutorial

If you are working on Web Applications then here is a tutorial on JavaScript.

JavaScript Tutorial

4 - Java Interview Questions

Go through the most expected and important interview questions to fill yourself with tons of confidence.

Java Interview Questions

5 - Java Tutorial in PDF

Download a quick Java tutorial in PDF format.

Java Tutorial in PDF