There are many features of JAVA which makes it a unique language and very easy for programmers.
Features of JAVA-
- Platform independent- The programs written in JAVA can easily be moved from one computer to another. Changes and upgrades in system resources, operating systems and processors do not affect the execution of JAVA programs. This is why JAVA has become very popular language for Internet. A JAVA applet downloaded from a remote computer to a local system can easily be executed locally.
- Compiled and interpreter- Most of the computer languages either uses a compiler or an interpreter. But JAVA uses both of them. At first, the JAVA compiler translates the source code to bytecode. Then this bytecode is converted to machine code by JAVA interpreter.
- Portable- JAVA is portable due to two reasons:
a) The bytecode generated is machine independent i.e. it can be executed on any machine.
b) The size of the primitive data types are machine independent.
- Object oriented- JAVA is an object oriented programming language. All the program codes and data always remain a part of objects and classes.
- Robust- JAVA is robust in a sense that it has many provisions to ensure reliable coding. JAVA includes compile time and run time checking for data types. It has the concept of exception handling which avoids deadlock of program execution. Also, it is designed as a garbage collected program which helps programmers not to worry about the problems of memory management.
- Secure- Since, JAVA is used in Internet applications, so it has to be a secured programming language. JAVA verifies all memory accesses as well as ensures that no virus is communicated with any applet. As JAVA has no pointer concept, so programs cannot access memory locations without any proper authorization.
- Distributed- JAVA application can easily be accessed and opened on Internet from remote systems. This is due to the fact that JAVA has the ability to share programs and data over a network. Thus, a single project can be accomplished by many programmers working together from remote locations.
- Multithreaded- JAVA is multithreaded programming language i.e. it has the ability to handle multiple tasks simultaneously. Thus, one task does not wait for another in running condition to be finished. This means while downloading an applet, we can listen to an audio clip and scroll the page at the same time. This increases the interativeness of JAVA.
- High performance- JAVA is designed in such a way so as to reduce overheads during runtime. Also, due to multithreading, the overall speed is high.
- Dynamic and extensible- JAVA has the capability to dynamically link new classes, methods and objects. Depending upon a response through a query, JAVA can dynamically link or abort the program. JAVA has the facility to incorporate functions written in C/C++ known as native methods.












One Response
Explained well but too technical for me, I fear.