Below are some of the unique features of Java.
- Platform Independent − Unlike many other programming languages including C and C++, Java is not compiled into platform specific machine code, rather into platform independent byte code. This byte code is interpreted by the Virtual Machine (JVM) on whichever platform it is being run on.
- Simple& Secure − Java is designed to be easy to learn and comes up with numerous security features that will help the developers to create virus-free software. Java is more secured compared to C, C++
- Portable − Being architecture-neutral and having no implementation dependent aspects of the specification makes Java portable. Compiler in Java is written in ANSI C with a clean portability boundary, which is a POSIX subset.
- Robust − Java makes an effort to eliminate error prone situations by emphasizing mainly on compile time error checking and runtime checking.
- Multi-threaded − With Java’s multithreaded feature it is possible to write programs that can perform many tasks simultaneously. This design feature allows the developers to construct interactive applications that can run smoothly.
- Interpreted − Java byte code is translated on the fly to native machine instructions and is not stored anywhere. The development process is more rapid and analytical since the linking is an incremental and light-weight process.
- High Performance − With the use of Just-In-Time compilers, Java enables high performance.