Features of Java

  • Compiled and Interpreted: -

The programs go through a two way mechanism. First of all it is compiled using the compiler, which converts the source code into Bytecode – which is an intermediate code. This code is not machine code, which can be executed directly. Secondly, the program is interpreted which converts this Bytecode into executable machine code.

  • Simple: -
The Java programming is easy to learn. If you are a C++ programmer then it will take very little effort for you will learn this language. Because Java inherits many of its syntax from C/C++. Some confusing concepts in C/C++ have been removed or have been implemented using effective approach.
  • Portable: -
Java supports portability i.e. it supports the ability to run your programs on different platforms with little or no modification. You can write program on your computer and run it on another computer without much trouble.
  • Secure: -
When you download a program it might contain malicious content or code, but java handles this problem with providing the “firewall” between networked application and your computer.

  • Object-oriented: -
Java is a truly object-oriented. It is not source code compatible with any other language. Therefore, it gives programmer the ability to start with clean, usable java environment. Almost everything in Java is object-oriented.

  • Robust: -
Java helps the programmer to find errors early in the program development. It handles for you problems like memory management mistakes and exception handling.


  • Multithreaded: -

Thread is the basic unit of CPU utilization.
Multithreading is the ability to do many things simultaneously. Using multithreading property you can write a program, which opens standalone application while loading an image in the background.

  • Dynamic: -

Java programs have run-time type information that is used to verify and resolve accesses to objects at run time.

Previous
Next Post »