What is Java | And its Importance

 Java is a class based high level object oriented programming language. It is developed by James Gerling and his friends in the year 1991. Java is a platform independent language. The first version of java is JDK1.0 was released on the year 23rd January 1996 by Sun Micro System


Features of Java

• Object Oriented
• Platform Independent
• Simple Language
• Highly Secure Language
• It is Virus Free Language
• Portable Language
• Compiled & Interpreted Language

Java is a free form pointers hence we can achieve less development time and less execution time.

Advantages of Java

•  Java has Rich Set of API
Java is available to develop any complex applications.

• The Java Software contains a  program called Garbage collections which is always used to collect unrefrenced memory locations due to this it Improve performance of a Java program.

• Java contains user friendly syntax for developing java applications.

• Java is a platform independent language because java doesn't depend on any other operating system.

• The program converts source code bytcode and we can run this byte code on any platform.

• Multi reading
Multireading is one of the feature of Java.Multireading is a process of executing multiple threads concurrently.  We can write Java program it deals many tasks at once by defining multiple threads.

• Portable
Because of its portable feature if a Java code is written on one computer system then it can run on another PC.Bytcode can transmit to any platform for execution.

• Secure
Java is a secure language. It enables to develop virus free system. It doesn't support pointer for the Memory.

• Dynamic
Java is a dynamic programming language. It support dynamic loading of classes that means classes are loading on demand.

• Memory Allocation
Java virtual machine is responsible for keeping all the information and store it easily. It uses two locations. Heap and Stacks. And Java virtual machine where all your information will be stored.

What is Java,Advantages of Java, Disadvantages of Java
Image Courtesy:Pixabay 


Disadvantages of Java

• Size Limit
We can store only fixed size of elements in the array. It doesn't grow its size at run time. To solve this problem collection framework is used in Java. We must know in advance that how many elements are to stored in array.

• Java is  Static Structure
It means that Java is fixed size. This Memory which is allocated to array cannot be increased or reduced.

• Since Java is a Fixed Size
If we allocate more Memory that requirement than the memory space will be wasted. And if we allocate less Memory than requirement then it create problems.

• The element of Java script of array stored in consecutive memory location. So insertions and deletation are very difficult and time consuming.

These are the advantages and disadvantages of a Java programming. But now Java is the best programming language in the world. 

Post a Comment

Previous Post Next Post

Contact Form