Features of Java


 

Features of Java

Learn the features of Features of Java.

Learn the features of Features of Java.

Features of Java:

Java is one of the most popular language in the field of software programming. The reason behind its widely acceptance in software programming is its large number of important and robust features. Java can be used to develop wide variety of dynamic, fully secure and plateform independant applications. Java has various important features:

  • SIMPLE
  • Java is easy to write and understand. Java programmer doesn't have to work with pointers and deesn't need to manage memory explicitely. Java eliminated the use of pointers for security reasons. Its virtual machine is able to handle the memory management and so removes the occupied memory automatically when it is no longer referenced . Programmer can now concentrate on the required application logic rather than wasting time and logic with these managements.

  • JAVA IS OBJECT-ORIENTED
  • There are several languages like C and C++ which are not pure objecte oriented but Java is fully object oriented language which follows all the rules of OOPs like Inheritance, Encapsulation, Polymorphism etc and every thing can be treated in the form of objects. Even primitive data types can also be treated as objects using wrapper classes to make it fully object oriented. Class is the basic unit in java and objects are entities following the prototype defined by the class.
     
  • JAVA IS DISTRIBUTED
  • Java supports network programming to communicate with remote objects distributed over the network. Java provides libraries like RMI and CORBA to develop network applications.
     
  • JAVA IS INTERPRETED
  • Java is called interpreted language because its byte code, which is generated after compling the source code, is interpreted by the JVM and converts to machine dependent code which is also called native code.
     
  • JAVA IS ROBUST AND SECURE
  • Java applications are reliable in various ways. It offers compile time checking to detect early the causes of bugs, run time checking, eliminates the use of pointers which can cause memory corruption or unwanted access of memory, garbage collection management to free the unused memories automatically, exception handling to handle the situation at the time of occurance of any error and a lot more.
     
  • JAVA IS ARCHITECTURALLY NEUTRAL
  • Java is designed to make the application which are neutral to systems of any architecture with variety of CPUs and Operating systems. For this, java compiler converts the source code to the intermediate plateform independent code, called byte code, at the time of compilation which has nothing to do with any system architecture. This byte code makes java an architecture neutral language because this code can be interpreted by any system which has java virtual machine (JVM) installed in it.
     
  • MULTITHREADED
  • In Java, multithreaded applications are easy to develop using synchronization in comparison to other programming languages. Application performing several tasks at the same time are called multithreaded application which are useful for providing quick and real time response.

    Ads