Features of Java

cristy blossom
Besant Technologies
3 min readApr 20, 2019

Java is a general-purpose programming language developed with the goal of bringing a higher level of portability and security. In addition to the two main features of Java, there are many other features that make the Java language a unique and popular example.

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

1. simple

2. object-oriented

3 portable

4. platform independent

5. secured

6. Robust

7. Neutral Architecture

8. interpreted

9. High Performance

10. Multithreaded

11. Distributed

12. Dynamic

Click here to Known about-> choose java career option

simple

Java is very easy to learn and the syntax is simple, clean and easy to understand. According to Sun, the Java language is a simple programming language because:

· Java syntax is C ++-based (so easy for programmers to learn after C ++).

· Java has removed many complicated and rarely used features, for example, explicit pointers, operator overhead, and so on.

· Objects without reference should be removed because there is an automatic garbage collection in New York.

Object Oriented

Java is an object-oriented language, since it is modeled around “objects” rather than “processes”. Object-oriented programming concepts have the Java language, which also

Object

• Class

• Patrimony

• The polymorphism

• abstraction

• encapsulation

Platform independent

Java is a platform-independent language, which is a free software environment.

It has two components:

• Run Time Environment

• API (Application Programming Interface)

Java can run on multiple platforms while the program was written and compiled into byte code. The generated code is platform independent, Java offers features that “write once, run anywhere (WORA).”

Security

Java is known to be secure, as when they have the following characteristics, which -

Java has a pointer explicitly.

• The program runs on a sandbox virtual machine.

• Java Class Loader adds a separate class to the package from a local file system that was imported from the network.

• The byte code of the verifier checks the code fragments for each code that illegally violates the access right.

• It is a security manager that defines access to Java classes.

Robust

Robust simply means strong. Java is robust because:

· Powerful memory management is used.

· There is a lack of pointers that avoids the security problem.

· There is a garbage collection in Java that runs on the Java virtual machine to get rid of objects that are not used by the Java application again.

· There is a mechanism for exception handling and type checking in Java. All this aims to make Java constant.

Neutral architecture

Java is a neutral architecture because there is no resource application depending on, for example, the size of this type of primitive set.

In C programming, the int data type includes 2 bytes of the 32-bit memory architecture and 4 bytes of memory for the 64-bit architectures. However, it includes 4 bytes of memory for both the 32-bit and 64-bit architecture in the West.

portable

Java is portable as it makes it easy to use Java byte code on the platform from scratch. It does not require any applications.

High performance

Java offers high performance due to child bytecodes, they were faster than interpreted languages. Java architecture designed to reduce overhead during runtime.

Distributed

Java is distributed as it facilitates the creation of distributed Java applications by users. RMI and EJB are used to create distributed applications. This feature allows Java to access files by calling methods from different machines on the Internet.

Multi-Threading

A thread in which is a different program that runs at the same time, this feature helps Java to handle multiple tasks at the same time. Threads do not take up memory, memory works in action.

Dynamic

Java is a dynamic language. Supports dynamic class loading. This means that the class is loaded on demand. It also supports the native language function, that is, C and C ++.

Java supports dynamic compilation and automatic memory management (garbage collection).

--

--