Computer Science EngineeringLearn

Java Programming Language

Introduction of Java:

Java is a high level, secured, general purpose and object-oriented programming language and a platform.

Java was developed by James Gosling at Sun Microsystems and released in the year 1995. It is now owned by Oracle and over more than 3 billion devices run Java worldwide.

What is Java?

Java is a general-purpose programming language which let programmers write once and run anywhere. It is one of the most popular and widely used programming language over the years. It is easy to learn; its syntax is simple to use and open source programming language. Java code can run anywhere and run on all platforms around the world.

Java applications are typically compiled to bytecode that can run on any Java Virtual Machine (JVM) regardless of the underlying architecture. The syntax of Java is similar to C, C++.

Example of Java:

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

Main Features of Java:

The main features and principle for the creation of Java are as follows,

  1. Java is one of the simple and easy to use programming language. It does not have complex features which is difficult to learn or understand.
  2. It is an object-oriented programming language.
  3. In Java, the compiler converts the source code into bytecode and then the JVM executes the bytecode generated by the compiler. The bytecode can run on any operating system or any platform such as Windows, Linux, macOS.
  4. Java is such a portable programming language which means, a programmer can write a code once and can run anywhere in the world on any machine.
  5. Java don’t have pointers, so it cannot access out-of-bound arrays.
  6. Java is a robust and reliable programming language. The features of Java to make it robust are garbage collection, memory allocation and exception handling.

Java Terminology:

Java Virtual Machine (JVM): Java Virtual Machine (JVM) is a run-time engine to run Java applications. JVM is a part of Java Runtime Environment (JRE) is one of the main methods available in Java code.

Java Development Kit (JDK): To execute the code of Java, we need to install JDK in our computer in order to compile and run the Java programme.

Java Runtime Environment (JRE): Java Runtime Environment allows the Java programme to run. It includes browser, JVM and plugins. JDK includes JRE which needs to be in computer to run a Java programme.

How to Download Java:

To Download Java go to, https://www.java.com/en/download

Applications of Java:

Java was one of the most popular programming languages to use, according to GitHub. It is used for:

  1. Mobile Applications.
  2. Desktop Applications.
  3. Web Applications.
  4. Enterprise Applications.
  5. Web Servers and Application Servers.
  6. Database Connections.
  7. Games.
  8. Robotics.

Mahesh Vyas

I am Engineer and Web Developer. I made enggkatta.com to find the better solutions for our engineering community, help and provide the information about engineering and technology. Follow me on Twitter and Instagram.

Leave a Reply

Your email address will not be published. Required fields are marked *