Top Features of Java that you want to know

Table of Contents

Features of Java

The main purpose of creating a Java programming language is to make it a portable, simple and secure programming language. In addition, there are some features of java that contribute to the popularity of this language.

A list of the most important features of the Java language is given below.

1. Simple

2. Object oriented

3. Portable

4. Platform independent

5. Secured

6. Robust

Simple :

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

Java is very easy to learn, and its syntax is simple, clean and clear. According to Sun Micro, Java is a simple programming language because:

  • Java syntax is based on C++ (so easier for programmers to learn it after C++).
  • Java has removed many complicated and rarely-used features, for example, explicit pointers, operator overloading, etc.
  • There is no need to remove unreferenced objects because there is an Automatic Garbage Collection in Java.

Object oriented:

Java is an object-oriented programming language. Everything is one in Java. Object-oriented means we make our application a combination of different types of products, including data and behavior.

Object Oriented Programming (OOPs) is a method that facilitates the development and maintenance of applications by providing a set of rules.

Basic concepts of OOPs are:

Features of Java
  1. Object
  2. Class
  3. Inheritance
  4. Polymorphism
  5. Abstraction
  6. Encapsulation

Platform independent:

The Java platform differs from many other platforms in that it is a software platform that runs on other hardware platforms. It has two parts:

  1. Runtime Environment
  2. API(Application Programming Interface)

Java code can be executed on many platforms, such as Windows, Linux, Sun Solaris, Mac / OS and more. Java code is compiled and converted to byte code. This bypass code is platform independent, as it can be executed on multiple platforms, ie. Write and execute anywhere (WORA)..

Robust:

The English mining of Robust is strong. Java is robust because:

  1. It uses strong memory management.
  2. There is a lack of pointers that avoids security problems.
  3. Java provides automatic garbage collection which runs on the Java Virtual Machine to get rid of objects which are not being used by a Java application anymore.
  4. There are exception handling and the type checking mechanism in Java. All these points make Java robust.

Portable:

Java is portable because it facilitates you to carry the Java byte code to any platform. It doesn’t require any implementation.

Also read

Did you know about History of Java?

TOP 10 Popular java frameworks to learn in 2021

Share This Article

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on whatsapp
WhatsApp

IEEE Software Project Titles

IEEE Hardware Project Titles

Related Articles