Java Tutorial Java Advanced Java Resources
Python Java C++ C C# PHP R SQL DS Algo InterviewQ

Java - Tutorial



Java is a high level, robust, object-oriented, class-based, concurrent, secured and general-purpose programming language. The syntax Java is very much similar to C and C++. It is used to create window-based applications, mobile applications, web applications and enterprise applications. Applications developed in Java are also called WORA (Write Once Run Anywhere). This implies that a complied Java application is expected to run on any other Java-enabled system without any adjustment. As of now, Java is one of the most popular programming languages in use particularly for client-server web applications.

About Tutorial

This tutorial is intended for students and professionals interested in studying basic and advanced concepts of Java. This tutorial covers all topics of Java which includes data types, operators, arrays, strings, control statements, functions, classes, object-oriented programming, constructor, inheritance, polymorphism, encapsulation, exception handling & File IO. We believe in learning by examples therefore each and every topic is explained with lots of examples that makes you learn Java in a very easy way. Along with this, almost all examples can be executed online which provides better understanding of the language and helps you to learn the language faster. The classical "Hello World" example is mentioned below for the illustration purpose:

//  Hello World Example
public class MyClass {
  public static void main(String[] args) {
    System.out.println("Hello World!");  
  }
}

The output of the above code will be:

Hello World!

Prerequisite

Before continuing with this tutorial, you should have basic understanding of C/C++ programming language or basic Java programming language. However, this tutorial is designed in such a way that anyone can start from scratch.


4