What are the advantages of C++ over Java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are the advantages of C++ over Java?

I know Java derived from C++ (therefore, it must have many improvements compared to C++, the same way C++ is has more features than C). What are the things that keep programmers using it (operating systems...)?

17th Jul 2017, 6:33 PM
Danilo
Danilo - avatar
3 Answers
+ 3
inline assembly, full heap control, easy access to the operating system's API, compiled directly to native machine code which makes it perform faster than Java, ability to overload operators, and uses less memory than Java does, just to name a few.
17th Jul 2017, 7:38 PM
aklex
aklex - avatar
+ 2
In some ways unfortunately it is faster than java
17th Jul 2017, 9:56 PM
Harsh Prakash Agarwal
Harsh Prakash Agarwal - avatar
0
There is no advantages of C++ over Java ... Java is more popular than C++ Like u said C++ and Java are similar
17th Jul 2017, 7:45 PM
Mosaab Yassir Lafrimi