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 approaches while learning Java Programming language.


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


Before you start practicing various types of examples given in this reference, we assume that you are already aware about computer programs and computer programming languages.

Java Offline Mobile App

Java offline Mobile App

Execute Java Online

For most of the examples given in this tutorial, you will find a ‘Try it’ option, which you can use to execute your Java programs at the spot and enjoy your learning.

try the following example using the ‘Try it’ option available at the top right corner of the following sample code box −

public class MyFirstJavaProgram {

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