Skip to content
Related Articles

Related Articles

Disadvantages of Java Language
  • Difficulty Level : Basic
  • Last Updated : 09 Jan, 2019

Some of the disadvantages of Java are:

1- Performance
Java programs take much longer time to run compared to C/C++.

2- Memory
Since Java Programs run on top of Java Virtual Machine, it consumes more memory.

3- Cost
Since memory and processing requirements higher, hardware cost increases.



4- Low level programming
There is no support for low level programming in Java, like pointers are missing.

5- Garbage collection
There is no control over garbage collection in Java. That is programmer does not have any right to control the garbage collection. Java does not provide functions like delete(), free().

6- No Unsigned Types Unlike C/C++, Java does not support unsigned int, unsigned char, … etc. However in Java 8, API for unsigned long and unsigned int is introduced (Please see this oracle doc).

Beside all above disadvantages, Java is one of the most used language in the software industry (please see this) due to its maintainability and platform independent features.

Attention reader! Don’t stop learning now. Get hold of all the important Java Foundation and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more,  please refer Complete Interview Preparation Course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :