Java Introduction

Java was developed by James Gosling and released in 1994. It easily runs on multiple platforms such as Windows, Linux, and MacOS. Initially, the releases of Java were numbered as version 1.0, 1.1., 1.2, and so on. Now, the version is represented as “Java 2” for JDK 1.2 and above. Under Java Introduction, we will discuss the features of Java.

Java is quite popular for Write Once, Run Anywhere. Also, Java comes with a compiler and interpreter. Java came as an improvement to C++ and removed complicated features. It is said to be based on C++ and considered a “pure” object-oriented language since it only deals with Object Oriented Programming (OOP).

Features of Java

Here are the features of Java,

Introduction to Java

Architecture Neutral

Just compile your Java program and take it to another operating system. The same program works in another operating system as well without the need of recompiling it. This is why it is called Write Once, Run Anywhere, Anytime, Forever”.


Java programs are secure since they get compiled first into byte code, which leads to their verification.

Auto Garbage Collection

Java comes with an automatic garbage collector, which makes the memory more efficient by reclaiming memory for reuse. In C++, garbage collection isn’t automatic, so we use the delete() function. But in Java, there is no need to use any function, since garbage collector work automatically being part of JVM.


Java comes with the multi-threading concept, which makes the program quite effective, unlike single-threading. You can easily execute multiple threads simultaneously with Java.

Pure Object Oriented Language

Java deals with Object Oriented Programming Language, so it has all the concepts of object-oriented such as,

  • Classes: A class is a blueprint consisting of data members and member functions.
  • Objects: An object is an instance of a class.
  • Abstraction: Abstraction only shows the important details and hides what isn’t necessary.
  • Polymorphism: Polymorphism means “poly + morphos” i.e. many forms. It is divided into Static Binding and Dynamic Binding.
  • Inheritance: Inheritance is when you create a new class from the existing class. Here, new class in the Derived Class, whereas the existing class is the Base class.
Install Java on Windows
Studyopedia Editorial Staff
[email protected]

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading